chore: add Node.js 22 to CI
Signed-off-by: dhmlau <dhmlau@ca.ibm.com>
This commit is contained in:
parent
58585c1526
commit
251b7400d0
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue