Skip to content

Commit bb0e175

Browse files
authored
test: Add Node 20 to CI matrix (#596)
1 parent 84ffb12 commit bb0e175

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/ci.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,19 @@ on: [push, pull_request]
33
jobs:
44
tests:
55
runs-on: ubuntu-latest
6+
strategy:
7+
matrix:
8+
node: [18, 20]
9+
continue-on-error: ${{ matrix.node == 20 }}
610
steps:
711
- name: Checkout
812
uses: actions/checkout@v4
913
with:
1014
fetch-depth: 0
11-
- name: Setup Nodejs Env
12-
run: echo "NODE_VER=`cat .nvmrc`" >> $GITHUB_ENV
1315
- name: Setup Nodejs
1416
uses: actions/setup-node@v4
1517
with:
16-
node-version: ${{ env.NODE_VER }}
18+
node-version: ${{ matrix.node }}
1719
- name: Install dependencies
1820
run: npm ci
1921
- name: Validate package-lock.json changes

0 commit comments

Comments
 (0)