fix(ci): resolve website build failures due to lockfile mismatch#4024
Merged
theianmay merged 4 commits intoreact-native-elements:nextfrom Jan 27, 2026
Merged
fix(ci): resolve website build failures due to lockfile mismatch#4024theianmay merged 4 commits intoreact-native-elements:nextfrom
theianmay merged 4 commits intoreact-native-elements:nextfrom
Conversation
Replace --immutable flag with --mode=update-lockfile to allow lockfile updates during website dependency installation.
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## next #4024 +/- ##
=======================================
Coverage 79.40% 79.40%
=======================================
Files 90 90
Lines 2141 2141
Branches 954 919 -35
=======================================
Hits 1700 1700
Misses 439 439
Partials 2 2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
github-actions bot
pushed a commit
that referenced
this pull request
Jan 27, 2026
fix(ci): resolve website build failures due to lockfile mismatch
github-actions bot
pushed a commit
that referenced
this pull request
Jan 27, 2026
fix(ci): resolve website build failures due to lockfile mismatch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The website CI build was failing with
YN0028: The lockfile would have been modified by this install, which is explicitly forbidden.This occurred because:
file:../packages/basepackages/basechanges, the lockfile hash becomes out of syncyarn install --immutablefails when the hash doesn't matchSolution
Replace
yarn install --immutablewithyarn install --mode=update-lockfilein the website install step. This flag explicitly allows lockfile updates when workspace dependencies change.Changes
Additional Improvements
This ensures the website builds successfully in CI while maintaining reproducibility for external npm dependencies.