Skip to content

Commit 2c4f3a7

Browse files
rajbosCopilot
andcommitted
ci: update workflows to Node.js 24
- Bump all node-version pins from 20.x/22.x to 24.x - Update matrix artifact/summary conditionals from 22.x to 24.x - Add FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true to coactions/setup-xvfb step (no newer version available; opt-in env var silences deprecation warning) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 6c8ad72 commit 2c4f3a7

9 files changed

Lines changed: 15 additions & 13 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
9999
- name: Upload build artifacts
100100
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
101-
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '22.x'
101+
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '24.x'
102102
with:
103103
name: build-artifacts
104104
path: |

.github/workflows/check-models.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Setup Node.js
3838
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
3939
with:
40-
node-version: '20.x'
40+
node-version: '24.x'
4141

4242
- name: Authenticate GitHub CLI
4343
env:

.github/workflows/ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,20 +79,22 @@ jobs:
7979
exit "$status"
8080
8181
- name: Publish test results to step summary
82-
if: always() && matrix.node-version == '22.x'
82+
if: always() && matrix.node-version == '24.x'
8383
shell: bash
8484
run: node scripts/parse-test-output.js "$RUNNER_TEMP/test-output.txt" >> "$GITHUB_STEP_SUMMARY"
8585

8686
- name: Run tests
8787
uses: coactions/setup-xvfb@b6b4fcfb9f5a895edadc3bc76318fae0ac17c8b3 # v1.0.1
88+
env:
89+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
8890
with:
8991
run: cd vscode-extension && npm test
9092
options: -screen 0 1024x768x24
9193
continue-on-error: true # VS Code extension tests can be flaky in CI
9294

9395
- name: Upload build artifacts
9496
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
95-
if: matrix.node-version == '22.x'
97+
if: matrix.node-version == '24.x'
9698
with:
9799
name: extension-build
98100
path: |
@@ -117,7 +119,7 @@ jobs:
117119
- name: Setup Node.js
118120
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
119121
with:
120-
node-version: '20.x'
122+
node-version: '24.x'
121123
cache: 'npm'
122124
cache-dependency-path: vscode-extension/package-lock.json
123125

.github/workflows/cli-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
if: needs.check-changes.outputs.cli-relevant == 'true'
5959
runs-on: ubuntu-latest
6060
env:
61-
node-version: 22
61+
node-version: 24
6262
steps:
6363
- name: Harden Runner
6464
uses: step-security/harden-runner@fe104658747b27e96e4f7e80cd0a94068e53901d # v2.16.1

.github/workflows/copilot-setup-steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Set up Node.js
4242
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
4343
with:
44-
node-version: "20"
44+
node-version: "24"
4545
cache: "npm"
4646
cache-dependency-path: "**/package-lock.json"
4747

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
- name: Setup Node.js
5454
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
5555
with:
56-
node-version: '20.x'
56+
node-version: '24.x'
5757
cache: 'npm'
5858
cache-dependency-path: vscode-extension/package-lock.json
5959

@@ -389,7 +389,7 @@ jobs:
389389
- name: Setup Node.js
390390
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
391391
with:
392-
node-version: '20.x'
392+
node-version: '24.x'
393393
cache: 'npm'
394394
cache-dependency-path: vscode-extension/package-lock.json
395395

@@ -499,7 +499,7 @@ jobs:
499499
- name: Setup Node.js
500500
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
501501
with:
502-
node-version: '22.x'
502+
node-version: '24.x'
503503

504504
# ── Install dependencies ────────────────────────────────────────────────
505505

.github/workflows/sync-release-notes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Setup Node.js
3030
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
3131
with:
32-
node-version: '20.x'
32+
node-version: '24.x'
3333

3434
- name: Sync GitHub release notes to CHANGELOG.md
3535
env:

.github/workflows/sync-toolnames.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: Setup Node.js
4343
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
4444
with:
45-
node-version: '20.x'
45+
node-version: '24.x'
4646

4747
- name: Authenticate GitHub CLI
4848
env:

.github/workflows/visualstudio-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
- name: Setup Node.js
6363
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
6464
with:
65-
node-version: '22.x'
65+
node-version: '24.x'
6666

6767
# ── Install dependencies ────────────────────────────────────────────────
6868

0 commit comments

Comments
 (0)