You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Node 20 action deprecation: bump actions/checkout and actions/setup-node before 2026-06-02 #55
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026.
This affects at least:
.github/workflows/publish.yml
.github/workflows/ci.yml
.github/workflows/code-review.yml
...and probably every other workflow that checks out code or sets up node.
Deadline impact
Date
What happens
2026-06-02
GitHub forces Node.js 24 on all actions by default. actions/checkout@v4 and actions/setup-node@v4 will run on Node 24 even without opting in. Most actions will just work, but anything that relies on Node 20-specific behavior (rare) could break silently.
2026-09-16
Node.js 20 is removed from the runner. Any action that hasn't been updated to a Node 24-compatible version will fail hard.
The aictrl publish workflow runs on releases, so a forced migration that breaks the workflow would be another silent release-pipeline outage like the promise-retry one (see #49). Worth being proactive.
Fix
Bump the pinned action versions to the latest that ship as Node 24-native bundles:
actions/checkout@v4 → check for v5 or latest v4.x that supports Node 24
actions/setup-node@v4 → same
oven-sh/setup-bun@v2 → not mentioned in the annotation, but worth confirming it's Node-24-ready
Short-term escape hatch if we need more time: add FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true at the workflow level to force Node 24 now (and surface any breakage early) without bumping action versions. But we should just bump the versions — it's the same end state with less config drift.
Acceptance criteria
All workflow files bumped to action versions that are explicitly Node 24-compatible
Workflow runs no longer surface the deprecation annotation
CI and publish workflows both still green after the bump
Optionally: add a Dependabot config entry (.github/dependabot.yml) for github-actions so future action updates surface as PRs automatically
Activity
ci: bump deprecated Node 20 actions to Node 24-compatible versions (#55)
ci: bump deprecated Node 20 actions to Node 24-compatible versions (#55)
ci: bump actions/checkout v5 -> v6 per review feedback