Skip to content

Commit cb183e7

Browse files
committed
ci: opt into Node.js 24 for GitHub Actions
- Set FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=1 globally in all workflows to force the runner to use Node 24 for javascript actions ahead of the Node 20 deprecation deadline. - Fixes Node.js 20 actions deprecation warnings.
1 parent 75335bd commit cb183e7

6 files changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/cd.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ permissions:
2121

2222
env:
2323
UNIRTM_LOCKED: 1
24+
# Opt into Node.js 24 now ahead of GitHub's June 16, 2026 forced migration.
25+
# See: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
26+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "1"
2427

2528
jobs:
2629
# 1. Project Verification Stage (Verify)

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ permissions:
2222

2323
env:
2424
UNIRTM_LOCKED: 1
25+
# Opt into Node.js 24 now ahead of GitHub's June 16, 2026 forced migration.
26+
# See: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
27+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "1"
2528

2629
jobs:
2730
# 0. Security Guard Stage (PR Only)

.github/workflows/dependabot-sync.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ name: "🤖 Dependabot Smart Sync"
4646

4747
permissions: {}
4848

49+
env:
50+
UNIRTM_LOCKED: 1
51+
# Opt into Node.js 24 now ahead of GitHub's June 16, 2026 forced migration.
52+
# See: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
53+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "1"
54+
4955
jobs:
5056
sync:
5157
name: "🔄 Sync Dependabot Config"

.github/workflows/goreleaser.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,9 @@ permissions: {}
147147

148148
env:
149149
UNIRTM_LOCKED: 1
150+
# Opt into Node.js 24 now ahead of GitHub's June 16, 2026 forced migration.
151+
# See: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
152+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "1"
150153

151154
jobs:
152155
goreleaser:

.github/workflows/nightly-audit.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ permissions:
1111
contents: read
1212
issues: write
1313

14+
env:
15+
UNIRTM_LOCKED: 1
16+
# Opt into Node.js 24 now ahead of GitHub's June 16, 2026 forced migration.
17+
# See: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
18+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "1"
19+
1420
jobs:
1521
audit:
1622
name: "🔍 Full Security Audit"

.github/workflows/pages.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ permissions: {}
3434

3535
env:
3636
UNIRTM_LOCKED: 1
37+
# Opt into Node.js 24 now ahead of GitHub's June 16, 2026 forced migration.
38+
# See: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
39+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "1"
3740

3841
jobs:
3942
build:

0 commit comments

Comments
 (0)