Skip to content

Commit e92b19d

Browse files
committed
chore: update release workflow actions to node24
1 parent dacec72 commit e92b19d

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ permissions:
1818
jobs:
1919
build-and-release:
2020
runs-on: ubuntu-latest
21-
env:
22-
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
2321

2422
steps:
2523
- name: Checkout
@@ -32,7 +30,7 @@ jobs:
3230
cache: 'npm'
3331

3432
- name: Cache VS Code test runtime
35-
uses: actions/cache@v4.2.4
33+
uses: actions/cache@v5
3634
with:
3735
path: .vscode-test
3836
key: vscode-test-${{ runner.os }}-${{ hashFiles('package-lock.json') }}
@@ -67,7 +65,7 @@ jobs:
6765
fi
6866
6967
- name: Upload VSIX artifact
70-
uses: actions/upload-artifact@v4.6.2
68+
uses: actions/upload-artifact@v6
7169
with:
7270
name: copilot-cockpit-vsix
7371
path: archive/vsix/latest/copilot-cockpit-*.vsix

src/test/suite/releaseUtils.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,9 @@ suite("Release Pipeline Contract Tests", () => {
174174
assert.ok(
175175
workflow.includes("branches:") && workflow.includes("- main"),
176176
);
177-
assert.ok(workflow.includes("uses: actions/cache@v4"));
177+
assert.ok(!workflow.includes("FORCE_JAVASCRIPT_ACTIONS_TO_NODE24"));
178+
assert.ok(workflow.includes("uses: actions/cache@v5"));
179+
assert.ok(workflow.includes("uses: actions/upload-artifact@v6"));
178180
assert.ok(workflow.includes("path: .vscode-test"));
179181
assert.ok(workflow.includes("run: npm run pretest"));
180182
assert.ok(workflow.includes("Ensure Xvfb is available"));

0 commit comments

Comments
 (0)