chore: add Node.js 22 to CI

Signed-off-by: dhmlau <dhmlau@ca.ibm.com>
This commit is contained in:
dhmlau 2024-05-23 20:53:28 -04:00
parent 58585c1526
commit 251b7400d0
1 changed files with 7 additions and 7 deletions

View File

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