ci: mise instead of corepack, tooling on Node 26 (#861)

* ci: install node and yarn with mise, not corepack

Node 25+ no longer ships corepack. The integrity job now installs node and yarn from mise.toml through jdx/mise-action, and keys the yarn cache on the resolved node version.

* build: upgrade TypeScript to 6 and Node types to 24

@types/node now matches the node24 runtime the action runs on; @types/node 24 needs TypeScript 5.2+. tsconfig moves to nodenext resolution (node10 is deprecated in TypeScript 6) and dist is rebuilt with the new emitter.

* build: move tooling and CI to Node 26.12.1

mise.toml pins Node 26.12.1, which the Integrity job now installs through mise-action. The action runtime stays node24, the highest GitHub Actions offers.

---------

Co-authored-by: Frostebite <[email protected]>
This commit is contained in:
Webber Takken
2026-10-24 19:19:53 +01:00
committed by GitHub
co-authored by Frostebite
parent 51325fd536
commit 58e7224b82
8 changed files with 288 additions and 262 deletions
+3 -3
View File
@@ -30,7 +30,7 @@
".github/workflows/*.@(yml|yaml)": "actionlint"
},
"engines": {
"node": ">=18.x"
"node": ">=24"
},
"dependencies": {
"@actions/cache": "^4.0.0",
@@ -39,7 +39,7 @@
"@actions/tool-cache": "^2.0.1"
},
"devDependencies": {
"@types/node": "^17.0.23",
"@types/node": "^24.19.2",
"@types/semver": "^7.3.9",
"@typescript/native-preview": "^7.0.0-dev.20260505.1",
"@vercel/ncc": "^0.36.1",
@@ -51,7 +51,7 @@
"oxfmt": "^0.48.0",
"oxlint": "^1.63.0",
"ts-node": "10.8.1",
"typescript": "4.7.4",
"typescript": "6.0.3",
"vite": "^7",
"vitest": "^4",
"yarn-audit-fix": "^9.3.8"