Skip to content

Commit ea26564

Browse files
authored
chore: use Node.js 18 and 20 in CI (#339)
1 parent 600a576 commit ea26564

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,15 @@ on:
1313
jobs:
1414
test:
1515
runs-on: ubuntu-latest
16-
16+
strategy:
17+
matrix:
18+
node-version: [18.x, 20.x]
1719
steps:
1820
- name: set git core.autocrlf to 'input'
1921
run: git config --global core.autocrlf input
2022
- uses: actions/checkout@v3
2123
- uses: actions/setup-node@v3
2224
with:
23-
node-version: '16.x'
2425
cache: 'npm'
2526
cache-dependency-path: package-lock.json
2627
- run: npm ci

0 commit comments

Comments
 (0)