Skip to content

Commit bff992a

Browse files
authored
test: Add Node 20 to CI matrix (#732)
1 parent 21d20ed commit bff992a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,18 @@ on:
1111
jobs:
1212
tests:
1313
runs-on: ubuntu-22.04
14+
strategy:
15+
matrix:
16+
node: [18, 20]
17+
continue-on-error: ${{ matrix.node == 20 }}
1418
steps:
1519
- name: Checkout
1620
uses: actions/checkout@v4
1721

18-
- name: Setup Nodejs Env
19-
run: echo "NODE_VER=`cat .nvmrc`" >> $GITHUB_ENV
20-
2122
- name: Setup Nodejs
2223
uses: actions/setup-node@v4
2324
with:
24-
node-version: ${{ env.NODE_VER }}
25+
node-version: ${{ matrix.node }}
2526

2627
- name: Install dependencies
2728
run: npm ci

0 commit comments

Comments
 (0)