Skip to content

Migrate action runtime to Node 24 - #53

Open
zefixlluja wants to merge 1 commit into
hashicorp:mainfrom
zefixlluja:migrate-to-node24
Open

Migrate action runtime to Node 24#53
zefixlluja wants to merge 1 commit into
hashicorp:mainfrom
zefixlluja:migrate-to-node24

Conversation

@zefixlluja

@zefixlluja zefixlluja commented Jun 5, 2026

Copy link
Copy Markdown

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.using updated from node20 to node24
  • typescript.yml: CI matrix node-version updated from 20.x to 24.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 output
  • package.json: @types/node kept at ^22.5.4 (resolves to 22.19.19) — upgrading to ^24.0.0 breaks type-checking because @hashicorp/github-actions-core ships raw TypeScript and references "x32" as an architecture, which @types/node@24 removed. The types version does not affect the Node 24 runtime.
  • LICENSE: copyright year updated to include 2026

Suggests releasing as v1.0.1.

@zefixlluja
zefixlluja requested a review from a team as a code owner June 5, 2026 10:55
@hashicorp-cla-app

hashicorp-cla-app Bot commented Jun 5, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@hashicorp-cla-app

Copy link
Copy Markdown

CLA assistant check

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
zefixlluja force-pushed the migrate-to-node24 branch from 842b742 to b29b94b Compare June 5, 2026 11:18
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.

1 participant