Bump action runtime from node20 to node24#68
Conversation
Agent-Logs-Url: https://github.com/doc-detective/github-action/sessions/18e12e0c-c938-414f-9238-4721c2c35e5c Co-authored-by: hawkeyexl <5209367+hawkeyexl@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Updates this GitHub Action and its build/CI configuration to use the Node.js 24 runtime/target, aligning with the upcoming GitHub Actions runtime migration away from Node.js 20.
Changes:
- Update action runtime in
action.ymlfromnode20tonode24 - Update esbuild output target from
node20tonode24and rebuilddist/index.js - Bump CI workflows to run with Node.js 24
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
action.yml |
Switches the GitHub Action runtime to node24. |
esbuild.config.mjs |
Builds the bundled action output targeting Node.js 24. |
dist/index.js |
Rebuilt bundled output consistent with the Node.js 24 target. |
.github/workflows/main.yml |
CI workflow now sets up Node.js 24. |
.github/workflows/test-pr.yml |
PR test workflow now sets up Node.js 24. |
.github/workflows/local.yml |
Local-run workflow now sets up Node.js 24. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
WalkthroughThis PR upgrades the Node.js runtime from v20 to v24 across all CI workflows, the GitHub Action runtime definition, and the esbuild build target configuration. Each file receives a single, consistent version bump. ChangesNode.js Runtime Upgrade to v24
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related issues
Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Review rate limit: 0/1 reviews remaining, refill in 60 minutes.Comment |
GitHub Actions will force all JavaScript actions onto Node.js 24 on 2026-06-02 and remove Node.js 20 entirely on 2026-09-16. Consumers currently see a deprecation warning on every run.
Changes
action.yml:using: node20→using: node24esbuild.config.mjs:target: "node20"→target: "node24"dist/index.js: Rebuilt against the node24 targetmain.yml,test-pr.yml,local.yml):node-version: 20→node-version: 24Summary by CodeRabbit