Skip to content

Commit dc1e9cd

Browse files
authored
test: Add Node 20 to CI matrix (#1445)
* test: Add Node 20 to CI matrix * refactor: removed eslint disable * refactor: updated validate workflow continue-on-error node version
1 parent a681333 commit dc1e9cd

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/validate.yml

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

0 commit comments

Comments
 (0)