Skip to content

Commit 96b2206

Browse files
committed
test code with all supported Node versions
1 parent ea7abd1 commit 96b2206

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ name: Test Package
22

33
on: push
44

5-
env:
6-
NODE_VERSION: 20
7-
85
jobs:
96
test:
107
runs-on: ubuntu-22.04
118
timeout-minutes: 15
9+
strategy:
10+
matrix:
11+
node_version: [16, 18, 20]
1212
steps:
1313
- uses: actions/checkout@v4
1414
- uses: aboutbits/github-actions-node/setup-and-install@v2
1515
with:
16-
node-version: ${{ env.NODE_VERSION }}
16+
node-version: ${{ matrix.node_version }}
1717
- run: npm run checks

0 commit comments

Comments
 (0)