Compare commits

..
Author SHA1 Message Date
zlwuandCursor 2550e9713d fix: 纳入 mobile pnpm-lock 并简化 CI 安装,保证与本地依赖树一致
删除无效 pnpm-workspace.yaml;CI 用 frozen-lockfile + 跳过 puppeteer 下载。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-24 18:29:00 +08:00
zlwuandCursor 4e1ca614d4 fix: mobile CI 使用 hoisted node_modules,修复 webpack DefinePlugin 找不到
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-24 18:20:30 +08:00
3 changed files with 14960 additions and 5 deletions

No files matched your search

+2
View File
@@ -52,6 +52,8 @@ steps:
# pnpm-lock.yaml 被 gitignore,不能 --frozen-lockfile
# 跳过 puppeteer 下载 Chromium(H5 构建不需要,否则会卡很久)
- export PUPPETEER_SKIP_DOWNLOAD=1 PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1
# 无 lockfile 时 pnpm 默认隔离布局会导致 uni 找不到 webpack/lib/DefinePlugin;改用 hoisted
- printf '%s\n' 'shamefully-hoist=true' 'node-linker=hoisted' >> .npmrc
- pnpm install --no-frozen-lockfile --registry https://registry.npmmirror.com
- pnpm run build
- test -d dist/build/h5
+14958
View File
File diff suppressed because it is too large. Load diff
-5
View File
@@ -1,5 +0,0 @@
allowBuilds:
'@parcel/watcher': set this to true or false
core-js: set this to true or false
fsevents: set this to true or false
puppeteer: set this to true or false