Skip to content

Commit

Permalink
ci: add Node 22 to run matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
naorpeled authored Feb 4, 2025
1 parent 6131883 commit 08a60d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [14, 16, 18, 20]
node: [14, 16, 18, 20, 22]
name: Node ${{ matrix.node }}
steps:
- name: 'Checkout latest code'
Expand All @@ -20,8 +20,8 @@ jobs:
with:
node-version: ${{ matrix.node }}
cache: 'npm'
- name: Install NPM
run: npm install -g npm@9
- name: Install NPM (if node 14)
run: if [ "${{ matrix.node }}" == "14" ]; then npm install -g npm@9; fi
- name: Install dependencies
run: npm ci
- name: Run tests
Expand Down

0 comments on commit 08a60d3

Please sign in to comment.