From d6af2f1892e36cff5b3db158b257db1c979b2d73 Mon Sep 17 00:00:00 2001 From: zlwu <704541015@qq.com> Date: Sat, 24 Oct 2026 17:09:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20mobile=20CI=20=E7=94=A8=20--registry=20?= =?UTF-8?q?=E6=8C=87=E5=AE=9A=E9=95=9C=E5=83=8F=EF=BC=8C=E9=81=BF=E5=85=8D?= =?UTF-8?q?=20pnpm=20config=20=E5=9B=A0=20workspace=20=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cursor --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 3e7bce17..b9a919e2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -47,8 +47,8 @@ steps: - corepack enable - corepack prepare pnpm@9 --activate - cd mobile - - pnpm config set registry https://registry.npmmirror.com - - pnpm install --frozen-lockfile + # 勿 pnpm config set:本目录 pnpm-workspace.yaml 无 packages 字段会报错 + - pnpm install --frozen-lockfile --registry https://registry.npmmirror.com - pnpm run build - test -d dist/build/h5 - tar -C dist/build/h5 -czf "/hzdyjs-releases/${DRONE_TAG}/mobile-h5-${DRONE_TAG}.tar.gz" .