1
0
Fork 0

ci: run unit tests on nodejs v16 as well as v20

pull/1518/head
legobt 2023-09-03 02:48:21 +00:00
parent 544a29d2e2
commit 2fa9ea9dd1
No known key found for this signature in database
GPG Key ID: C5F28D4B2B8927AB
1 changed files with 2 additions and 1 deletions

View File

@ -17,6 +17,7 @@ jobs:
strategy: strategy:
matrix: matrix:
runs-on: [ubuntu-latest, macos-latest, windows-latest] runs-on: [ubuntu-latest, macos-latest, windows-latest]
node-version: [16.x, 20.x]
fail-fast: false fail-fast: false
runs-on: ${{ matrix.runs-on }} runs-on: ${{ matrix.runs-on }}
@ -28,7 +29,7 @@ jobs:
- name: Set Node.js version - name: Set Node.js version
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version-file: .nvmrc node-version: ${{ matrix.node-version }}
- name: npm install - name: npm install
run: npm install run: npm install