Compare commits

..
Author SHA1 Message Date
zlwuandCursor d6af2f1892 fix: mobile CI 用 --registry 指定镜像,避免 pnpm config 因 workspace 报错
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-24 17:09:16 +08:00
+2 -2
View File
@@ -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" .