Skip to content

fix: run the action on node24 - #16

Merged
fireairforce merged 1 commit into
utooland:mainfrom
fengmk2:fix/node24-runtime
Aug 17, 2026
Merged

fireairforce merged 1 commit into
utooland:mainfrom
fengmk2:fix/node24-runtime

Conversation

@fengmk2

@fengmk2 fengmk2 commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Every workflow that uses this action gets a warning on each run:

Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: utooland/setup-utoo@v1.

See the runner changelog. The runner already executes the action under node24, so this just makes action.yml say so.

  • action.yml: using: node20 -> node24
  • esbuild --target=node20 -> node24
  • @types/node ^20 -> ^24
  • .github/workflows/test.yml: actions/checkout@v4 -> v7 (v4 is also node20)

dist/ rebuilds byte-identical with the new target, so there is no bundle diff. tsc --noEmit passes against @types/node@24.

Hit this on cnpm/cnpmcore, where all 8 CI jobs carry the warning.

Note: consumers pin utooland/setup-utoo@v1, and the v1 tag currently points at main HEAD. The v1 tag needs to be moved after this merges for the warning to actually clear.

GitHub Actions runners force node20 actions onto node24 and emit a
deprecation warning on every run that uses this action:
https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

- action.yml: using node20 -> node24
- esbuild --target=node20 -> node24
- @types/node ^20 -> ^24
- test workflow: actions/checkout v4 -> v7 (also node20)

dist/ rebuilds byte-identical, so no bundle churn.
@fireairforce
fireairforce merged commit 1a7e0ea into utooland:main Aug 17, 2026
13 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.

2 participants