Skip to content

build(action): migrate action runtime to node24 - #33

Merged
c-vigo merged 1 commit into
mainfrom
feature/14-node24-runtime
Jul 14, 2026
Merged

c-vigo merged 1 commit into
mainfrom
feature/14-node24-runtime

Conversation

@c-vigo

@c-vigo c-vigo commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Moves the action to the node24 runtime ahead of GitHub removing the Node 20 Actions runtime on 2026-09-16 (Node 24 became the default 2026-06-02).

Closes #14. (Duplicate #28 was closed and consolidated here.)

Changes

  • action.yml: runs.using node20 → node24
  • package.json: @types/node ^20.10.0 → ^24.0.0 (no engines.node field exists; TypeScript 5.9.x resolves fine against @types/node@24)
  • tsconfig.json: target/lib ES2020 → ES2023 (appropriate for the Node 24 baseline)
  • Rebuilt committed dist/ (tsc + ncc); package-lock.json refreshed
  • CHANGELOG.md: ## Unreleased entry

Verification

  • npm run build (tsc), npm run bundle (ncc), npm test → 80/80 pass, 3 suites
  • Pre-commit suite green (run in the devkit Nix dev-shell)

Caveats / reviewer notes

  • Local build node was v22, not 24 — code is 24-compatible (builds against @types/node@24 + ES2023, all tests pass) but true runtime-24 execution should be confirmed by CI on a node24 runner.
  • ESLint is not in the pre-commit gate here; a pre-existing lint failure (test-file no-var-requires, present on main, no src/ changes in this PR) is out of scope — worth a separate cleanup issue.
  • After merge: tag a release so downstream consumers (e.g. vig-os/devcontainer) pick up node24.

Refs: #14

GitHub is removing the Node 20 Actions runtime on 2026-09-16 (Node 24
became the default on 2026-06-02), so move the action to node24: set
runs.using to node24 in action.yml, bump @types/node to the v24 line,
and raise the TypeScript target/lib to ES2023. Rebuild the committed
tsc + ncc bundle in dist/.

Refs: #14
@c-vigo
c-vigo force-pushed the feature/14-node24-runtime branch from 37c8834 to 002b549 Compare July 14, 2026 08:31
@c-vigo
c-vigo merged commit 5e78fe4 into main Jul 14, 2026
9 checks passed
@c-vigo
c-vigo deleted the feature/14-node24-runtime branch July 14, 2026 08:33
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.

[TASK] Upgrade action to support Node.js 24 runtime

1 participant