Skip to content

Commit f0783bf

Browse files
committed
build: Added node version matrix to CI checks
1 parent fd985e5 commit f0783bf

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/check-code.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,16 @@ on:
1313
jobs:
1414
check-code:
1515
runs-on: ubuntu-latest
16-
name: Check Code
16+
strategy:
17+
matrix:
18+
node: [ 16, 18, 19 ]
19+
name: Check Code (Node ${{ matrix.node }})
1720

1821
steps:
1922
- uses: actions/checkout@v3
2023
- uses: actions/setup-node@v3
2124
with:
22-
node-version: 16
25+
node-version: ${{ matrix.node }}
2326
cache: 'npm'
2427
- run: npm ci
2528
- run: npm run check-code

0 commit comments

Comments
 (0)