mirror of https://github.com/actions/toolkit
ci: run unit tests on nodejs v16 as well as v20
parent
544a29d2e2
commit
2fa9ea9dd1
|
@ -17,6 +17,7 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
runs-on: [ubuntu-latest, macos-latest, windows-latest]
|
||||
node-version: [16.x, 20.x]
|
||||
fail-fast: false
|
||||
|
||||
runs-on: ${{ matrix.runs-on }}
|
||||
|
@ -28,7 +29,7 @@ jobs:
|
|||
- name: Set Node.js version
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version-file: .nvmrc
|
||||
node-version: ${{ matrix.node-version }}
|
||||
|
||||
- name: npm install
|
||||
run: npm install
|
||||
|
|
Loading…
Reference in New Issue