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
+23 -14
View File
@@ -1432,10 +1432,12 @@ __metadata:
languageName: node
linkType: hard
"@types/node@npm:^17.0.23":
version: 17.0.45
resolution: "@types/node@npm:17.0.45"
checksum: 10/b45fff7270b5e81be19ef91a66b764a8b21473a97a8d211218a52e3426b79ad48f371819ab9153370756b33ba284e5c875463de4d2cf48a472e9098d7f09e8a2
"@types/node@npm:^24.19.2":
version: 24.19.2
resolution: "@types/node@npm:24.19.2"
dependencies:
undici-types: "npm:>=7.24.0 <7.24.7"
checksum: 10/5bc31df093f2866db0a2f9df0a1e99c2a46c3154ca2dc62ee14bde7af216d6361e4737e1023880921007ccb326b8559980e239e18a6fa927cda507da9383225c
languageName: node
linkType: hard
@@ -3839,23 +3841,30 @@ __metadata:
languageName: node
linkType: hard
"typescript@npm:4.7.4":
version: 4.7.4
resolution: "typescript@npm:4.7.4"
"typescript@npm:6.0.3":
version: 6.0.3
resolution: "typescript@npm:6.0.3"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10/f056b2313a7df95268ac63dc4ddcb7aed1b7d5a6bbc933d11c3fcd0a77712e16b24bdf4403acc529ade5c27a2a477e25124e899587e8ca3f19685c7ab954c6f3
checksum: 10/0ef2357a4cffd916b52b683a021cdab0f81eea4e9aa35f2d254581c9a5106da02224e3392e1b0ed42b7a48f80c966e5f52b8e1a27941fa0523c1705a9c2e0330
languageName: node
linkType: hard
"typescript@patch:typescript@npm%3A4.7.4#optional!builtin<compat/typescript>":
version: 4.7.4
resolution: "typescript@patch:typescript@npm%3A4.7.4#optional!builtin<compat/typescript>::version=4.7.4&hash=65a307"
"typescript@patch:typescript@npm%3A6.0.3#optional!builtin<compat/typescript>":
version: 6.0.3
resolution: "typescript@patch:typescript@npm%3A6.0.3#optional!builtin<compat/typescript>::version=6.0.3&hash=5786d5"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10/cd6f51368ba0f8c458a44ca8b05684e9cda49acbb4e7dcf40c4720cd1534f68c2d139ec6f179bb9996e6fe9d0c7a04846db55a048f51fd2f3c41fbce0a004971
checksum: 10/22b67a18dafedf9b1468b64ca20d9aa02ea61d449b65413d8aa6552aeb63f52ef369e86beb25b6b4c91a803d9726ee5c196f391a9b64201263263410a4223ee6
languageName: node
linkType: hard
"undici-types@npm:>=7.24.0 <7.24.7":
version: 7.24.6
resolution: "undici-types@npm:7.24.6"
checksum: 10/defc9538b952e3c15b8526596c591f7c1f0c7605ad27a2b7feddbea7ef2e3003f3eda2cdb051a3cb1a2185e3893100fd9cb925c799db99d48131ea63b5233d10
languageName: node
linkType: hard
@@ -3890,7 +3899,7 @@ __metadata:
"@actions/core": "npm:^1.11.1"
"@actions/exec": "npm:^1.1.1"
"@actions/tool-cache": "npm:^2.0.1"
"@types/node": "npm:^17.0.23"
"@types/node": "npm:^24.19.2"
"@types/semver": "npm:^7.3.9"
"@typescript/native-preview": "npm:^7.0.0-dev.20260505.1"
"@vercel/ncc": "npm:^0.36.1"
@@ -3902,7 +3911,7 @@ __metadata:
oxfmt: "npm:^0.48.0"
oxlint: "npm:^1.63.0"
ts-node: "npm:10.8.1"
typescript: "npm:4.7.4"
typescript: "npm:6.0.3"
vite: "npm:^7"
vitest: "npm:^4"
yarn-audit-fix: "npm:^9.3.8"