Skip to content

Commit 4e984a3

Browse files
authored
Run Node-based CI on Node.js 22 (#19)
1 parent 1099b30 commit 4e984a3

3 files changed

Lines changed: 11 additions & 7 deletions

File tree

‎.github/workflows/cross-sdk-smoke.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ jobs:
100100
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
101101
with:
102102
node-version: '22'
103+
check-latest: true
103104

104105
- name: Smoke ${{ matrix.agent }}
105106
if: steps.gate.outputs.run == 'true'

‎.github/workflows/cross-sdk.yml‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,13 @@ jobs:
116116
path: ~/.m2/wrapper
117117
key: maven-wrapper-${{ hashFiles('.mvn/wrapper/maven-wrapper.properties') }}
118118

119-
- name: Set up Node 20
119+
- name: Set up Node 22
120120
if: matrix.node
121121
id: node
122122
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
123123
with:
124-
node-version: '20'
124+
node-version: '22'
125+
check-latest: true
125126

126127
- name: Set up Rust stable
127128
if: matrix.rust
@@ -216,12 +217,13 @@ jobs:
216217
path: ~/.m2/wrapper
217218
key: maven-wrapper-${{ hashFiles('.mvn/wrapper/maven-wrapper.properties') }}
218219

219-
- name: Set up Node 20
220+
- name: Set up Node 22
220221
if: matrix.node
221222
id: node
222223
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
223224
with:
224-
node-version: '20'
225+
node-version: '22'
226+
check-latest: true
225227

226228
- name: Set up Rust stable
227229
if: matrix.rust

‎.github/workflows/framework-smoke.yml‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: Framework smoke matrix
66
# and on manual dispatch for any branch, which is how a candidate branch is gated: dispatch it on
77
# that branch ("Run workflow" -> "Use workflow from"), or
88
# gh workflow run framework-smoke.yml --ref <branch>
9-
# It needs only JDK 17, Node 20 and the TypeScript SDK, and takes about 10 minutes. The full
9+
# It needs only JDK 17, Node 22 and the TypeScript SDK, and takes about 10 minutes. The full
1010
# cross-SDK matrix stays in cross-sdk.yml.
1111
on:
1212
push:
@@ -52,11 +52,12 @@ jobs:
5252
path: ~/.m2/wrapper
5353
key: maven-wrapper-${{ hashFiles('.mvn/wrapper/maven-wrapper.properties') }}
5454

55-
- name: Set up Node 20
55+
- name: Set up Node 22
5656
id: node
5757
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
5858
with:
59-
node-version: '20'
59+
node-version: '22'
60+
check-latest: true
6061

6162
- name: Set up JBang
6263
uses: jbangdev/setup-jbang@2b1b465a7b75f4222b81426f23a01e013aa7b95c # v0.1.1

0 commit comments

Comments
 (0)