Skip to content

Commit 0d6692c

Browse files
authored
test: Add Node 20 to CI matrix (#735)
1 parent 3391e96 commit 0d6692c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/ci.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,20 @@ on:
99
jobs:
1010
tests:
1111
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
node: [18, 20]
15+
continue-on-error: ${{ matrix.node == 20 }}
16+
1217
steps:
1318
- name: Checkout
1419
uses: actions/checkout@v4
1520
with:
1621
fetch-depth: 0
17-
- name: Setup Nodejs Env
18-
run: echo "NODE_VER=`cat .nvmrc`" >> $GITHUB_ENV
1922
- name: Setup Nodejs
2023
uses: actions/setup-node@v4
2124
with:
22-
node-version: ${{ env.NODE_VER }}
25+
node-version: ${{ matrix.node }}
2326
- name: Install dependencies
2427
run: npm ci
2528
- name: Validate package-lock.json changes

0 commit comments

Comments
 (0)