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
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: |

View file

@ -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