chore: standardize the toolchain on Node 24 LTS

The repo now pins Node 24 everywhere instead of mixing 22 and hardcoded workflow versions. The docs workflows read .nvmrc like the main CI already did, so the Storybook bundle in the Pages deploy builds on the same runtime as the PR gate. The docs gen:api script runs its TypeScript entry natively, dropping the experimental type-stripping flag that Node 24 makes default; the matching frontend cleanup (engines and gen:api) landed with the Storybook commit.
This commit is contained in:
MHSanaei
2026-07-14 03:39:03 +02:00
parent ee9a6067c2
commit bbc4163768
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ jobs:
- uses: actions/setup-node@v6
with:
node-version: 22
node-version-file: .nvmrc
cache: pnpm
cache-dependency-path: docs/pnpm-lock.yaml
+1 -1
View File
@@ -1 +1 @@
22
24
+1 -1
View File
@@ -9,7 +9,7 @@
"build": "next build",
"start": "next start",
"postinstall": "fumadocs-mdx",
"gen:api": "node --experimental-strip-types scripts/gen-openapi.ts",
"gen:api": "node scripts/gen-openapi.ts",
"typecheck": "fumadocs-mdx && next typegen && tsc --noEmit",
"lint": "eslint .",
"format": "prettier --write .",