Skip to content

Commit 0b6ed24

Browse files
committed
chore(release): use node 24 native actions
1 parent 7541dbc commit 0b6ed24

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,17 @@ permissions:
1515
id-token: write
1616
pull-requests: write
1717

18-
env:
19-
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
20-
2118
jobs:
2219
release:
2320
name: Version or publish npm bundles
2421
runs-on: macos-15
2522
environment: npm-release
2623
steps:
2724
- name: Checkout
28-
uses: actions/checkout@v4
25+
uses: actions/checkout@v5
2926

3027
- name: Setup Node for npm trusted publishing
31-
uses: actions/setup-node@v4
28+
uses: actions/setup-node@v5
3229
with:
3330
node-version: "24"
3431
registry-url: "https://registry.npmjs.org"

scripts/release/release-bundles.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,9 @@ describe("Feature: release bundle contract", () => {
168168
expect(publishScript).toContain('"--provenance"');
169169
expect(publishScript).toContain("isPackageVersionPublished");
170170
expect(workflow).toContain("id-token: write");
171-
expect(workflow).toContain("FORCE_JAVASCRIPT_ACTIONS_TO_NODE24");
172171
expect(workflow).toContain("environment: npm-release");
173-
expect(workflow).toContain("actions/setup-node@v4");
172+
expect(workflow).toContain("actions/checkout@v5");
173+
expect(workflow).toContain("actions/setup-node@v5");
174174
expect(workflow).toContain('node-version: "24"');
175175
expect(workflow).toContain(`bun-version: "${releaseToolchain.bunVersion}"`);
176176
expect(workflow).not.toContain("bun-version: latest");

0 commit comments

Comments
 (0)