chore: Support pnpm v11

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