Skip to content

Bump action runtime from Node.js 20 to Node.js 24#2

Draft
heyhayes wants to merge 4 commits into
mainfrom
claude/awesome-ritchie-xmtx4g
Draft

Bump action runtime from Node.js 20 to Node.js 24#2
heyhayes wants to merge 4 commits into
mainfrom
claude/awesome-ritchie-xmtx4g

Conversation

@heyhayes

Copy link
Copy Markdown
Owner

Summary

Node.js 20 is deprecated as a GitHub Actions runtime, and consumers of heyhayes/actions-setup-gh-cli@v4 are seeing warnings that the action is being force-run on Node.js 24:

Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: heyhayes/actions-setup-gh-cli@v4

This bumps the action to target the node24 runtime so it runs natively without the deprecation warning.

Changes

  • action.yml: runs.using node20node24
  • .github/workflows/check-dist.yml: CI build now uses Node.js 24.x
  • package.json: engines.node >=24.0.0 and @types/node ^24.0.0

No source changes were needed, so the checked-in dist/index.js bundle is unchanged — only the runtime declaration moves to Node 24.

Releasing v5

Once this merges to main, cut a v5 release tag pointing at the merge commit (matching the existing v1v4 major-version tag convention) so consumers can pin @v5.

🤖 Generated with Claude Code


Generated by Claude Code

claude added 4 commits June 25, 2026 15:38
Node.js 20 is deprecated for GitHub Actions runtimes. Update the action
to run on node24 and align the CI Node version and package metadata.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XJb45njfgZ9qBnkTQcVcBu
actions/upload-artifact@v2 is auto-failed by GitHub as deprecated, which
broke the check-dist job. Bump checkout and upload-artifact to v4.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XJb45njfgZ9qBnkTQcVcBu
The runtime bump to node24 (action.yml) is the deprecation fix; @types/node
is a dev-only type package and bumping it forced a package-lock.json change
that broke 'npm ci' in check-dist. Revert it to keep the lock in sync.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XJb45njfgZ9qBnkTQcVcBu
The committed dist/index.js.map predated this fork's package rename from
@ksivamuthu to @heyhayes, so its embedded webpack source paths were stale.
check-dist rebuilds dist/ and compares, so it failed on the mismatch.
Rebuild to regenerate the map with the correct package name. Only the
sourcemap changes; dist/index.js is unaffected.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XJb45njfgZ9qBnkTQcVcBu
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.

2 participants