Migrate action runtime to Node 24 - #53
Open
zefixlluja wants to merge 1 commit into
Open
Conversation
|
Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement Learn more about why HashiCorp requires a CLA and what the CLA includes Have you signed the CLA already but the status is still pending? Recheck it. |
GitHub Actions is deprecating Node 20 on runners starting June 16 2026, with full removal planned for fall 2026. - action.yml: runs.using node20 -> node24 - typescript.yml: CI matrix node-version 20.x -> 24.x - @actions/core: ^1.10.1 -> ^2.0.3 (v2.0.0 added Node 24 support; v3 skipped — ESM-only, incompatible with CJS output) - package.json: @types/node kept at ^22.5.4 — upgrading to ^24 breaks type-checking via @hashicorp/github-actions-core (ships raw .ts with a case "x32" that @types/node@24 no longer accepts); types version does not affect the Node 24 runtime - LICENSE: copyright year updated to include 2026 Bumps version to 1.0.1.
zefixlluja
force-pushed
the
migrate-to-node24
branch
from
June 5, 2026 11:18
842b742 to
b29b94b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
GitHub is deprecating Node 20 on Actions runners, with the default switching to Node 24 on June 16 2026 and Node 20 being removed entirely in fall 2026 (announcement).
action.yml:runs.usingupdated fromnode20tonode24typescript.yml: CI matrixnode-versionupdated from20.xto24.x@actions/core:^1.10.1→^2.0.3— v2.0.0 explicitly added Node 24 support; v3 skipped as it is ESM-only and incompatible with this project's CommonJS outputpackage.json:@types/nodekept at^22.5.4(resolves to22.19.19) — upgrading to^24.0.0breaks type-checking because@hashicorp/github-actions-coreships raw TypeScript and references"x32"as an architecture, which@types/node@24removed. The types version does not affect the Node 24 runtime.LICENSE: copyright year updated to include 2026Suggests releasing as v1.0.1.