Skip to content

chore: bump action runtime to node24#115

Open
ronens88 wants to merge 1 commit intomainfrom
chore/node24-bump
Open

chore: bump action runtime to node24#115
ronens88 wants to merge 1 commit intomainfrom
chore/node24-bump

Conversation

@ronens88
Copy link
Copy Markdown
Contributor

@ronens88 ronens88 commented May 8, 2026

Summary

  • Both action.yml files declared using: node20. GitHub is forcing Node 24 on hosted runners on June 2, 2026 and removing Node 20 support on September 16, 2026 — without this bump, the action breaks on that date.
  • Two-line change: node20node24 in the root action.yml and attest/action.yml. No source/dist rebuild needed (action runtime is declared independently of the bundled JS).

Risk

  • Self-hosted runners must be on a version of actions/runner that ships Node 24. Customers on older runners will fail with "Node 24 not found." Same constraint applies to GHES.
  • The bundled dist/*.js is ncc-transpiled; runtime-compatible with Node 24. The existing scripts/fix-esm-require.js shim (added in 1bec56a for Node 20+ ESM/require interop) remains effective.
  • Plan to backport the same change to v0.10.x as v0.10.1 so customers pinned to @v0 are not stranded.

Test plan

  • verify-pr workflow passes on this PR
  • Manually trigger or observe a downstream consumer using @chore/node24-bump (or wait for first run on a Node 24 runner post-merge)
  • After merge, move the v1 floating tag and announce the runner-version requirement to customers

GitHub is forcing Node 24 on runners June 2 and removing Node 20
support on September 16. Both action.yml files declared
`using: node20`, which would break the action on that date.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
ronens88 added a commit that referenced this pull request May 8, 2026
Backport of #115 to the v0 line. GitHub forces Node 24 on runners
June 2 and removes Node 20 support September 16, after which the
action would fail to start on Node-20-pinned runtimes.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.

1 participant