Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 9a1eab6

Browse files
authored
test: Add Node 20 to CI matrix (#200)
1 parent f705240 commit 9a1eab6

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,14 +11,16 @@ 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 }}
1418

1519
steps:
1620
- uses: actions/checkout@v3
17-
- name: Setup Nodejs Env
18-
run: echo "NODE_VER=`cat .nvmrc`" >> $GITHUB_ENV
19-
- uses: actions/setup-node@v3
21+
- uses: actions/setup-node@v4
2022
with:
21-
node-version: ${{ env.NODE_VER }}
23+
node-version: ${{ matrix.node }}
2224
- run: npm ci
2325
- run: make validate-no-uncommitted-package-lock-changes
2426
- run: npm run lint

0 commit comments

Comments
 (0)