Repository navigation
fix(ci): skip mobile workspace patches when mobile node_modules is absent - #14659
Conversation
…les is missing Web CI's node_modules cache doesn't include packages/mobile/node_modules, so a cache hit failed postinstall on the lottie-react-native patch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
Verified locally by reproducing a web cache hit (root and web workspace node_modules, no packages/mobile/node_modules): the old script exits 1 with the same lottie-react-native error as CI, and this script exits 0. Web CI doesn't run on scripts/ changes. |
Web Build on main fails on a node_modules cache hit:
The Lottie patch from #14652 lives in
packages/mobile/workspace-patchesbecause npm nests that package underpackages/mobile/node_modules. web.yml's cache doesn't include that folder, so on a cache hit the package is missing and--error-on-failexits. The mobile workflow caches the folder, so mobile builds are unaffected.The step now runs only when
packages/mobile/node_modulesexists. Full installs still apply the patch.🤖 Generated with Claude Code