Skip to content

ci: pin actions to Node 24 majors ahead of 2026-06-16 deprecation#189

Merged
jakebromberg merged 1 commit into
mainfrom
ci/node24-action-pins
May 30, 2026
Merged

ci: pin actions to Node 24 majors ahead of 2026-06-16 deprecation#189
jakebromberg merged 1 commit into
mainfrom
ci/node24-action-pins

Conversation

@jakebromberg

Copy link
Copy Markdown
Owner

Summary

GitHub deprecates Node.js 20 actions on 2026-06-16 (per the changelog). All three JavaScript actions used by .github/workflows/ci.yml currently resolve to Node 20 at @v4. Bumping each to its first Node 24 major:

  • actions/checkout@v4 -> @v6 (Node 24 since v5.0.0, 2025-08-11)
  • actions/setup-node@v4 -> @v6 (Node 24 since v5.0.0, 2025-09-04; v6 limits automatic caching to npm, which is already what we use)
  • actions/cache@v4 -> @v5 (Node 24 since v5.0.0, 2025-12-11)

Note on scope

Issue #173 named only checkout and cachesetup-node@v4 was overlooked but is on the same Node 20 runtime and the same deadline. Bundled here rather than carved into a follow-up. Verified via each action's action.yml at @v4 (all three declare using: 'node20').

This goes with Option 3 from the issue (pin to newer majors); Options 1 (wait) and 2 (FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true) are unnecessary now that v5/v6 majors are out and stable.

Test plan

  • CI green on this PR (exercises all three actions at their new pins)
  • No Node 20 deprecation annotations on the run summary

Closes #173

GitHub deprecates Node.js 20 actions on 2026-06-16. Bump actions/checkout@v4 -> @v6 (Node 24 since v5.0.0), actions/setup-node@v4 -> @v6 (Node 24 since v5.0.0; v6 limits automatic caching to npm, which is the cache we already use), and actions/cache@v4 -> @v5 (Node 24 since v5.0.0).

setup-node was not flagged in the original issue but uses the same Node 20 runtime at @v4; bundling it here avoids a follow-up.

Closes #173
@jakebromberg
jakebromberg merged commit 841a99b into main May 30, 2026
3 checks passed
@jakebromberg
jakebromberg deleted the ci/node24-action-pins branch May 30, 2026 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: migrate actions/checkout and actions/cache off Node.js 20 before 2026-06-16

1 participant