diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f04a081..b5fc7e8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,9 +6,9 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: '14' + node-version: '20' - run: yarn install - run: yarn build diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c13fd59..7de6a9d 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -6,10 +6,10 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: '14' + node-version: '20' - run: yarn install - run: yarn lint:js - run: yarn lint:md diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3335849..86a8413 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,9 +6,9 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: '14' + node-version: '20' - run: yarn install - run: yarn test diff --git a/docker/Dockerfile b/docker/Dockerfile index 36b9186..8f1d2af 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM node:14 as build +FROM node:20 as build WORKDIR /usr/src/app COPY package.json yarn.lock ./ RUN yarn install