fix(ci): install pnpm from configured registry

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