Skip to content

Commit 7541dbc

Browse files
committed
chore(release): opt into node 24 actions runtime
1 parent e028d52 commit 7541dbc

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ permissions:
1515
id-token: write
1616
pull-requests: write
1717

18+
env:
19+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
20+
1821
jobs:
1922
release:
2023
name: Version or publish npm bundles

scripts/release/release-bundles.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ 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");
171172
expect(workflow).toContain("environment: npm-release");
172173
expect(workflow).toContain("actions/setup-node@v4");
173174
expect(workflow).toContain('node-version: "24"');

0 commit comments

Comments
 (0)