fix(ci): install pnpm from configured registry

This commit is contained in:
Codex
2026-07-22 19:29:42 +08:00
parent 2d432e5367
commit 318e4991be
+1 -2
View File
@@ -9,8 +9,7 @@ ENV PATH=$PNPM_HOME:$PATH
ARG NPM_REGISTRY=https://registry.npmmirror.com
RUN apk add --no-cache libc6-compat \
&& corepack enable \
&& corepack prepare pnpm@10.30.3 --activate \
&& npm install --global "pnpm@10.30.3" --registry="$NPM_REGISTRY" \
&& pnpm config set store-dir "$PNPM_STORE_PATH" \
&& pnpm config set registry "$NPM_REGISTRY"