Skip to content

Commit 3e0f7b5

Browse files
authored
test: Add Node 20 to CI matrix (#1224)
1 parent 21c9e30 commit 3e0f7b5

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/validate.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,16 @@ 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
- uses: actions/checkout@v4
14-
- name: Setup Nodejs Env
15-
run: echo "NODE_VER=`cat .nvmrc`" >> $GITHUB_ENV
16-
- uses: actions/setup-node@v3
19+
- uses: actions/setup-node@v4
1720
with:
18-
node-version: ${{ env.NODE_VER }}
21+
node-version: ${{ matrix.node }}
1922
- run: make validate.ci
2023
- name: Upload coverage
2124
uses: codecov/codecov-action@v4

0 commit comments

Comments
 (0)