From f474ad0613e0f822564ee95975049211cfabacd3 Mon Sep 17 00:00:00 2001 From: Illia Antypenko Date: Mon, 9 Dec 2024 23:32:50 +0200 Subject: [PATCH] Update node.js versions in Github Action --- .github/workflows/node.js.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 440848cd..cd5f7117 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -17,12 +17,13 @@ jobs: node-version: - 18 - 20 + - 22 - current os: - ubuntu-latest - windows-latest include: - - node-version: 20 + - node-version: 22 os: macos-latest steps: @@ -34,14 +35,14 @@ jobs: - run: npm i - run: npm test - run: npm run eslint - if: ${{ matrix.node-version == '20' && matrix.os == 'ubuntu-latest' }} + if: ${{ matrix.node-version == '22' && matrix.os == 'ubuntu-latest' }} - name: Coveralls - if: ${{ matrix.node-version == '20' && matrix.os == 'ubuntu-latest' }} + if: ${{ matrix.node-version == '22' && matrix.os == 'ubuntu-latest' }} uses: coverallsapp/github-action@v2 with: github-token: ${{ secrets.GITHUB_TOKEN }} - name: Publish codeclimate code coverage - if: ${{ matrix.node-version == '20' && matrix.os == 'ubuntu-latest' }} + if: ${{ matrix.node-version == '22' && matrix.os == 'ubuntu-latest' }} uses: paambaati/codeclimate-action@v9.0.0 env: CC_TEST_REPORTER_ID: 5a58ca8fc3a280bcb3e9cc6af2588c2e24608abc50d89d749c4453b5ebbbd31b