From de482eee2eb97b2a344068dca709dd7a5ca59bc3 Mon Sep 17 00:00:00 2001 From: Illia Antypenko Date: Mon, 9 Dec 2024 23:28:19 +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 f093d06..49f6bd8 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -18,12 +18,13 @@ jobs: node-version: - 18 - 20 + - 22 - current os: - ubuntu-latest - windows-latest include: - - node-version: 20 + - node-version: 22 os: macos-latest steps: @@ -35,14 +36,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: 0653d2f9752a6c6febd3bb7cabfec48439868a02350b1c46da7d60837a42ad93