node version matrix
This commit is contained in:
9
.github/workflows/test.yml
vendored
9
.github/workflows/test.yml
vendored
@@ -14,6 +14,12 @@ jobs:
|
||||
timeout-minutes: 20
|
||||
strategy:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
nodever:
|
||||
[
|
||||
'latest',
|
||||
'lts/*'
|
||||
]
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
@@ -23,6 +29,9 @@ jobs:
|
||||
|
||||
- name: Setup nodejs
|
||||
uses: https://github.com/actions/setup-node@v4
|
||||
with:
|
||||
node-version: "${{ matrix.nodever }}"
|
||||
check-latest: true
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
Reference in New Issue
Block a user