Skip to content

Commit c6efe80

Browse files
authored
test: Add Node 20 to CI matrix (#405)
1 parent 6b3bb62 commit c6efe80

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,19 @@ on:
1111
jobs:
1212
tests:
1313
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
node: [18, 20]
17+
continue-on-error: ${{ matrix.node == 20 }}
18+
1419
steps:
1520
- name: Checkout
1621
uses: actions/checkout@v4
1722

18-
- name: Setup Nodejs Env
19-
run: echo "NODE_VER=`cat .nvmrc`" >> $GITHUB_ENV
20-
2123
- name: Setup Nodejs
2224
uses: actions/setup-node@v4
2325
with:
24-
node-version: ${{ env.NODE_VER }}
26+
node-version: ${{ matrix.node }}
2527

2628
- name: Install dependencies
2729
run: npm ci

0 commit comments

Comments
 (0)