From bbc4163768ca44d01de1742a390eef80bd7c392f Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Tue, 14 Jul 2026 03:39:03 +0200 Subject: [PATCH] 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. --- .github/workflows/docs-ci.yml | 2 +- .nvmrc | 2 +- docs/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docs-ci.yml b/.github/workflows/docs-ci.yml index c67482794..773c097c8 100644 --- a/.github/workflows/docs-ci.yml +++ b/.github/workflows/docs-ci.yml @@ -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 diff --git a/.nvmrc b/.nvmrc index 2bd5a0a98..a45fd52cc 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -22 +24 diff --git a/docs/package.json b/docs/package.json index 813f5c99b..dbd34904e 100644 --- a/docs/package.json +++ b/docs/package.json @@ -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 .",