fix: mobile CI 改用非 frozen install(pnpm-lock 未纳入仓库)

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-10-24 17:24:40 +08:00
1 parent 5ab54912a5
commit ba6a6af131
1 file changed
+2 -1
+2 -1
View File
@@ -49,7 +49,8 @@ steps:
- cd mobile
# 仓库内 pnpm-workspace.yaml 无 packages 字段,pnpm9 会直接失败;单包工程移走即可
- mv pnpm-workspace.yaml pnpm-workspace.yaml.ci-bak 2>/dev/null || true
- pnpm install --frozen-lockfile --registry https://registry.npmmirror.com
# pnpm-lock.yaml 被 gitignore,不能 --frozen-lockfile
- pnpm install --no-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" .