Skip to content

Upgrade to Node.js 24 and update @types/node to 24.12.0#241

Open
thyarles wants to merge 1 commit intoactions:mainfrom
thyarles:fix-node-version
Open

Upgrade to Node.js 24 and update @types/node to 24.12.0#241
thyarles wants to merge 1 commit intoactions:mainfrom
thyarles:fix-node-version

Conversation

@thyarles
Copy link
Copy Markdown

@thyarles thyarles commented Mar 27, 2026

Upgrade GitHub Actions runtime from Node.js 20 to Node.js 24

Summary

Migrates the action runtime from node20 to node24 to address the upcoming deprecation of Node.js 20 on GitHub Actions runners. It fixes the issue #240.

Motivation

GitHub has announced the deprecation of Node.js 20 on GitHub Actions runners:

  • June 2, 2026 — Node.js 24 becomes the default runtime for JavaScript actions
  • September 16, 2026 — Node.js 20 will be removed from runners entirely, breaking any action still using node20

This PR proactively makes the migration before the forced cutover, avoiding unexpected failures in workflows that depend on this action.

Changes

File Change
action.yml using: node20using: node24
package.json @types/node ^20^24

Testing

All 26 existing tests pass without modification:

Test Suites: 3 passed, 3 total
Tests:       26 passed, 26 total

No logic was changed — this is a runtime and type definition update only.

References

@thyarles thyarles requested a review from a team as a code owner March 27, 2026 18:38
@oshanz
Copy link
Copy Markdown

oshanz commented Apr 4, 2026

fixes #240

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.

3 participants