mirror of
https://github.com/tiennm99/bsk.git
synced 2026-08-05 14:22:41 +00:00
ci: run on Node 24 and align types with the runtime
The runner already defaults to Node 24 and local dev is on v24.14.0, while CI pinned 22 and @types/node was still ^22 — so the type definitions described an older runtime than anything actually running. - CI node-version 22 -> 24 - @types/node ^22 -> ^24 (matches the runtime major; the newer ^26 line targets Node 26, which we don't run) - declare engines.node >=24 so local, CI, and Vercel resolve the same major All six CI gates pass locally on Node 24: secret-leak, format:check, test (97), lint, typecheck, build.
This commit is contained in:
@@ -32,7 +32,7 @@ jobs:
|
||||
|
||||
- uses: actions/setup-node@v7
|
||||
with:
|
||||
node-version: 22
|
||||
node-version: 24
|
||||
cache: pnpm
|
||||
|
||||
- run: pnpm install --frozen-lockfile
|
||||
|
||||
Reference in New Issue
Block a user