CI: 编译速度优化 #23
Labels
No Label
bug
component-crypto
component-ui
docs
duplicate
enhancement
help wanted
invalid
misc
platform-android
platform-mac
platform-win
question
test
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: um/um-react#23
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
尝试不同的手段来优化 CI 构建时间。
原始信息:
我之前做过 pnpm 的 CI 缓存优化,不过是在 GitLab CI 上面搞的;
可以对 pnpm store 进行缓存
如果你喜欢 pnpm 的话,我可以试试处理一下
倒不是缓存,只是感觉 pnpm 的加速方案并没有想象中的好(ci 下)… 没有缓存的情况下感觉没有快到哪去
但我看了下 CI 上 yarn 的安装包下载时间要长一倍,我还是回退下再想想怎么套优化吧… 尴尬
从 pnpm 转移到 yarnto CI: 编译速度优化最终优化策略: