chore(ci): add Node 22

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2024-08-31 15:19:50 +02:00 committed by Philip Molares
parent 4a0025d5bf
commit 3dfe9722c9
2 changed files with 3 additions and 3 deletions

View file

@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
node: ['18', '20'] node: ['18', '20', '22']
name: Node ${{ matrix.node }} name: Node ${{ matrix.node }}
steps: steps:
- name: Checkout repository - name: Checkout repository
@ -34,7 +34,7 @@ jobs:
- name: Upload build artifacts - name: Upload build artifacts
uses: actions/upload-artifact@v4 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: with:
name: Prebuild with Node.js ${{ matrix.node-version }} name: Prebuild with Node.js ${{ matrix.node-version }}
path: | path: |

View file

@ -17,7 +17,7 @@ jobs:
- name: Setup node - name: Setup node
uses: ./.github/actions/setup-node uses: ./.github/actions/setup-node
with: with:
NODEJS_VERSION: '20' NODEJS_VERSION: '22'
- name: Run ESLint - name: Run ESLint
run: yarn run eslint run: yarn run eslint