From 3dfe9722c95c212e064b074a555b295d79421b58 Mon Sep 17 00:00:00 2001 From: David Mehren Date: Sat, 31 Aug 2024 15:19:50 +0200 Subject: [PATCH] chore(ci): add Node 22 Signed-off-by: David Mehren --- .github/workflows/build-and-test.yml | 4 ++-- .github/workflows/lint.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index e54389ec4..8b828608b 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: ['18', '20'] + node: ['18', '20', '22'] name: Node ${{ matrix.node }} steps: - name: Checkout repository @@ -34,7 +34,7 @@ jobs: - name: Upload build artifacts uses: actions/upload-artifact@v4 - if: github.ref == 'refs/heads/master' && matrix.node-version == '16' + if: github.ref == 'refs/heads/master' && matrix.node-version == '22' with: name: Prebuild with Node.js ${{ matrix.node-version }} path: | diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ea77ad6eb..ceddf8809 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -17,7 +17,7 @@ jobs: - name: Setup node uses: ./.github/actions/setup-node with: - NODEJS_VERSION: '20' + NODEJS_VERSION: '22' - name: Run ESLint run: yarn run eslint