From aff7d926ed7c73dbf28b36c52f68a6031f96a6a4 Mon Sep 17 00:00:00 2001 From: morgankrey Date: Thu, 22 Oct 2026 23:03:06 -0500 Subject: [PATCH] Run Node-based CI on Node.js 22 --- .github/workflows/cross-sdk-smoke.yml | 1 + .github/workflows/cross-sdk.yml | 10 ++++++---- .github/workflows/framework-smoke.yml | 7 ++++--- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cross-sdk-smoke.yml b/.github/workflows/cross-sdk-smoke.yml index ca417aad..bc0a25a0 100644 --- a/.github/workflows/cross-sdk-smoke.yml +++ b/.github/workflows/cross-sdk-smoke.yml @@ -100,6 +100,7 @@ jobs: uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version: '22' + check-latest: true - name: Smoke ${{ matrix.agent }} if: steps.gate.outputs.run == 'true' diff --git a/.github/workflows/cross-sdk.yml b/.github/workflows/cross-sdk.yml index 29b1d619..d05ef7aa 100644 --- a/.github/workflows/cross-sdk.yml +++ b/.github/workflows/cross-sdk.yml @@ -116,12 +116,13 @@ jobs: path: ~/.m2/wrapper key: maven-wrapper-${{ hashFiles('.mvn/wrapper/maven-wrapper.properties') }} - - name: Set up Node 20 + - name: Set up Node 22 if: matrix.node id: node uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: - node-version: '20' + node-version: '22' + check-latest: true - name: Set up Rust stable if: matrix.rust @@ -216,12 +217,13 @@ jobs: path: ~/.m2/wrapper key: maven-wrapper-${{ hashFiles('.mvn/wrapper/maven-wrapper.properties') }} - - name: Set up Node 20 + - name: Set up Node 22 if: matrix.node id: node uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: - node-version: '20' + node-version: '22' + check-latest: true - name: Set up Rust stable if: matrix.rust diff --git a/.github/workflows/framework-smoke.yml b/.github/workflows/framework-smoke.yml index 45a0a719..ef18a898 100644 --- a/.github/workflows/framework-smoke.yml +++ b/.github/workflows/framework-smoke.yml @@ -6,7 +6,7 @@ name: Framework smoke matrix # and on manual dispatch for any branch, which is how a candidate branch is gated: dispatch it on # that branch ("Run workflow" -> "Use workflow from"), or # gh workflow run framework-smoke.yml --ref -# It needs only JDK 17, Node 20 and the TypeScript SDK, and takes about 10 minutes. The full +# It needs only JDK 17, Node 22 and the TypeScript SDK, and takes about 10 minutes. The full # cross-SDK matrix stays in cross-sdk.yml. on: push: @@ -52,11 +52,12 @@ jobs: path: ~/.m2/wrapper key: maven-wrapper-${{ hashFiles('.mvn/wrapper/maven-wrapper.properties') }} - - name: Set up Node 20 + - name: Set up Node 22 id: node uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: - node-version: '20' + node-version: '22' + check-latest: true - name: Set up JBang uses: jbangdev/setup-jbang@2b1b465a7b75f4222b81426f23a01e013aa7b95c # v0.1.1