Skip to content

Commit b5c753f

Browse files
committed
ci: update the workflow
1 parent 4098506 commit b5c753f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,18 @@ jobs:
66
test:
77
runs-on: ubuntu-latest
88

9+
strategy:
10+
matrix:
11+
node-version: [20, 21]
12+
913
steps:
1014
- uses: actions/checkout@v4
1115
with:
1216
fetch-depth: 0
1317

1418
- uses: actions/setup-node@v4
1519
with:
16-
node-version: 18
20+
node-version: ${{ matrix.node-version }}
1721
check-latest: true
1822

1923
- name: Install dependencies
@@ -40,7 +44,7 @@ jobs:
4044

4145
- uses: actions/setup-node@v4
4246
with:
43-
node-version: 18
47+
node-version: 20
4448
check-latest: true
4549

4650
- name: Import GPG key

0 commit comments

Comments
 (0)