From d4cc441dea700f161cd80059b97fb72017785760 Mon Sep 17 00:00:00 2001 From: Anton Golub Date: Fri, 3 Nov 2023 23:49:01 +0300 Subject: [PATCH] ci: migrate to nodejs 18 --- .github/workflows/ci.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d89f1698d..1bf953c18 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -31,7 +31,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 - name: Download artifact uses: qiwi-forks/action-download-artifact@v2 @@ -148,7 +148,7 @@ jobs: strategy: matrix: os: [ ubuntu-latest ] - node-version: [ 16, 18, 20 ] + node-version: [ 18, 20 ] name: Test (Node v${{ matrix.node-version }}, OS ${{ matrix.os }}) runs-on: ${{ matrix.os }} steps: @@ -195,17 +195,17 @@ jobs: run: yarn - name: Docker pull - if: matrix.node-version == '16' + if: matrix.node-version == '18' run: | docker pull browserless/chrome@sha256:4655517b70d598367f363e15fa311ea514879f6b4908ba9199d6714d6f8269a3 docker pull nginx@sha256:480868e8c8c797794257e2abd88d0f9a8809b2fe956cbfbc05dcc0bca1f7cd43 - name: Lint - if: matrix.node-version == '18' + if: matrix.node-version == '20' run: yarn lint - name: Visual tests - if: matrix.node-version == '16' + if: matrix.node-version == '18' run: yarn test - name: Save failure results @@ -256,7 +256,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 # - name: Codeclimate # uses: paambaati/codeclimate-action@v2.7.5