admin管理员组文章数量:1315790
I'm changing a project to use Zero-Installs (where .yarn/cache
is committed). It works on local because the process is yarn
and it builds the .yarn/cache
and runs the post-install scripts necessary to create the platform-specific unplugged
dependencies.
However, I've found no way to force CI to generate the unplugged
dependencies without doing a full yarn install
. I've tried yarn install --immutable-cache
hoping that it wouldn't make network requests, but it still does. Is there an alternate command that can be run to force all the post-install scripts in deps to run?
The necessity to yarn in CI defeats the entire purpose of zero-installs.
版权声明:本文标题:yarnpkg - How to use Yarn PnP Zero-Installs in CI when platform-specific packages are required? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741991568a2409211.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论