This commit is contained in:
Diana Lau 2024-05-23 20:54:04 -04:00 committed by GitHub
commit 425f332238
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 7 deletions

View File

@ -18,12 +18,12 @@ jobs:
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest] os: [ubuntu-latest]
node-version: [18, 20] node-version: [18, 20, 22]
include: include:
- os: macos-latest - os: macos-latest
node-version: 18 node-version: 20
- os: windows-latest - os: windows-latest
node-version: 18 node-version: 20
fail-fast: false fail-fast: false
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
@ -73,10 +73,10 @@ jobs:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Use Node.js 18 - name: Use Node.js 20
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with: with:
node-version: 18 node-version: 20
- name: Update NPM - name: Update NPM
run: npm install --global npm run: npm install --global npm
- name: Bootstrap project - name: Bootstrap project
@ -94,10 +94,10 @@ jobs:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Use Node.js 18 - name: Use Node.js 20
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with: with:
node-version: 18 node-version: 20
- name: Update NPM - name: Update NPM
run: npm install --global npm run: npm install --global npm
- name: Bootstrap project - name: Bootstrap project