Skip to content

Feature/upgrade node 20 to 24#87

Open
hallden98 wants to merge 6 commits into
TimonVS:mainfrom
hallden98:feature/upgrade-node-20-to-24
Open

Feature/upgrade node 20 to 24#87
hallden98 wants to merge 6 commits into
TimonVS:mainfrom
hallden98:feature/upgrade-node-20-to-24

Conversation

@hallden98

Copy link
Copy Markdown

Summary

  • Upgrade action runtime from node20 to node24 in action.yml
  • Pin local Node.js version to 24 in .node-version
  • Bump @types/node from ^20.11.17 to ^24.0.0 and regenerate lockfile
  • Update CI workflow to Node.js 24 and actions/setup-node@v4
  • Rebuild dist/index.js with updated Node 24 types

Motivation

Node.js 20 reaches end-of-life in April 2026. GitHub Actions runners will migrate to Node 24 as the default runtime on June 16, 2026, with Node 20 support fully removed in Fall 2026. See GitHub changelog.

Changes

File Change
action.yml using: 'node20'using: 'node24'
.node-version 2024
package.json @types/node: ^20.11.17^24.0.0
package-lock.json Regenerated
.github/workflows/ci.yml Node 24 + actions/setup-node@v4
dist/index.js Rebuilt

Test plan

  • npm test — all 7 tests pass
  • npm run build — dist rebuilt successfully
  • No remaining node20 references in config files

@hallden98
hallden98 marked this pull request as draft May 25, 2026 02:02
The Node 20→24 runtime upgrade does not require rebuilding the bundle.
Rebuilding introduced ~32k formatting-only diff lines due to a different
ncc version, making the PR unnecessarily hard to review.
@hallden98
hallden98 marked this pull request as ready for review May 25, 2026 02:14
@hallden98

Copy link
Copy Markdown
Author

Hello @TimonVS
I would like to ask for a review in this PR, pump nodejs version from 20 to 24
-> https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

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