From 6a3f66b1a99bde117b9de601da30082f72c83c8b Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 14 Jun 2026 16:03:11 +0000 Subject: [PATCH] Provision pnpm via Corepack in CI to honor packageManager pin CI installed pnpm with 'npm install -g pnpm', which pulls the latest release and ignores the pnpm@10.33.0 pin in package.json's packageManager field. This let CI drift to a different pnpm major than the Docker image and local dev, the exact drift Corepack prevents. Switch both the GitHub and Gitea build workflows to 'corepack enable', matching the Dockerfile assets stage and the documented model where local, CI, and Docker all follow the packageManager field. https://claude.ai/code/session_01VWXYQxUPWdhoV4otwr6Cyk --- .gitea/workflows/build.yml | 2 +- .github/workflows/build-docker.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 4ec654c..a4894a5 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -25,7 +25,7 @@ jobs: node-version: "22" - name: Install pnpm and JS dependencies - run: npm install -g pnpm && pnpm install --frozen-lockfile --ignore-scripts + run: corepack enable && pnpm install --frozen-lockfile --ignore-scripts - name: Build TypeScript run: make ts diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml index 26edc96..e60f408 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -25,7 +25,7 @@ jobs: node-version: "22" - name: Install pnpm and JS dependencies - run: npm install -g pnpm && pnpm install --frozen-lockfile --ignore-scripts + run: corepack enable && pnpm install --frozen-lockfile --ignore-scripts - name: Build TypeScript run: make ts