fix: mobile CI 用 --registry 指定镜像,避免 pnpm config 因 workspace 报错
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
dcd29040de
commit
d6af2f1892
1 file changed
+2
-2
+2
-2
@@ -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" .
|
||||
|
||||
Reference in new issue
Block a user