Skip to content

build: update GitHub Actions runtime from Node 20 to Node 24#147

Merged
MartinSandeCosta merged 8 commits into
mainfrom
build/update-node-24
Jun 25, 2026
Merged

build: update GitHub Actions runtime from Node 20 to Node 24#147
MartinSandeCosta merged 8 commits into
mainfrom
build/update-node-24

Conversation

@MartinSandeCosta

Copy link
Copy Markdown
Contributor

Summary

  • Update GitHub Actions runtime from node20 to node24 in action.yml
  • Update CI workflow (check-dist.yml) to use Node 24.x

Why

Node 20 is being deprecated on GitHub Actions runners. As of June 16, 2026, runners use Node 24 by default and actions still using node20 emit a deprecation warning. Node 20 will be fully removed in fall 2026.

See: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Compatibility notes

Users who need to temporarily continue using Node 20 after upgrading to this version can set the ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true environment variable in their workflows. This opt-out will stop working in fall 2026 when Node 20 is fully removed from runners.

Node 20 is deprecated and runners default to Node 24 as of June 2026.
Update action.yml runtime and CI workflow to use Node 24.
@MartinSandeCosta MartinSandeCosta requested a review from bobergj June 23, 2026 09:16
@MartinSandeCosta MartinSandeCosta self-assigned this Jun 23, 2026

@MartinSandeCosta MartinSandeCosta left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified build passes with Node 24 locally

Comment thread .github/workflows/check-dist.yml Outdated
@MartinSandeCosta

MartinSandeCosta commented Jun 23, 2026

Copy link
Copy Markdown
Contributor Author

Verified build passes with Node 24 locally

Things worth noting in the release description:

1- macOS 13.4 and earlier: Node 24 is incompatible with macOS 13.4 and earlier versions. If you are running workflows on older macOS runners, you may need to upgrade.
2- ARM32 self-hosted runners: Node 24 does not provide official ARM32 support. Self-hosted runners on ARM32 will no longer be able to run JavaScript actions.

- actions/checkout v4 → v7
- actions/setup-node v4 → v6
- actions/upload-artifact v4 → v7
@MartinSandeCosta MartinSandeCosta requested a review from bobergj June 23, 2026 09:25
dependabot Bot added 5 commits June 23, 2026 11:28
Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.5.4 to 5.7.2.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](microsoft/TypeScript@v5.5.4...v5.7.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.5.4 to 22.10.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 8.4.0 to 8.17.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.17.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 8.4.0 to 8.17.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.17.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [eslint-plugin-github](https://github.com/github/eslint-plugin-github) from 5.0.1 to 5.1.4.
- [Release notes](https://github.com/github/eslint-plugin-github/releases)
- [Commits](github/eslint-plugin-github@v5.0.1...v5.1.4)

---
updated-dependencies:
- dependency-name: eslint-plugin-github
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@MartinSandeCosta MartinSandeCosta merged commit d333fc0 into main Jun 25, 2026
3 checks passed
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