chore: Support pnpm v11

This commit is contained in:
oHaoDaio
2026-05-24 01:14:34 +08:00
committed by jeffvli
parent 44de6f2207
commit d23f7619ec
12 changed files with 37 additions and 322 deletions
+1 -4
View File
@@ -3,10 +3,7 @@ FROM node:23-alpine AS builder
WORKDIR /app
# Copy package.json first to cache node_modules
COPY package.json pnpm-lock.yaml .
# Match CI (pnpm/action-setup version: 10). Latest pnpm 11 fails install without approve-builds.
RUN corepack enable && corepack prepare pnpm@10 --activate
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml .
RUN pnpm install