Skip to content

Commit 0ed985c

Browse files
committed
ci: use recent node versions
1 parent 46f36db commit 0ed985c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,15 @@ on: [push, pull_request]
55
jobs:
66
build:
77
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
node-version: [18, 20, "lts/*"]
811

912
steps:
1013
- uses: actions/checkout@v4
1114
- uses: actions/setup-node@v4
15+
with:
16+
node-version: ${{ matrix.node-version }}
1217
- run: npm ci
1318
- run: npm test
1419
- run: npm run lint

0 commit comments

Comments
 (0)