Skip to content

Install with yarn in CI so the lockfile is respected - #52

Merged
iebb merged 1 commit into
masterfrom
fix/ci-use-yarn-lockfile
Aug 16, 2026
Merged

iebb merged 1 commit into
masterfrom
fix/ci-use-yarn-lockfile

Conversation

@iebb

@iebb iebb commented Aug 16, 2026

Copy link
Copy Markdown
Owner

The Android build has been failing on master for a while:

[Reanimated] Your installed version of Worklets (0.7.4) is not compatible with
installed version of Reanimated (4.5.3). Please install Worklets 0.10.x or newer.

This is a Yarn 3 project with a committed yarn.lock pinning reanimated 4.2.0 and worklets 0.7.1, which are compatible. CI installed with npm install --legacy-peer-deps, which ignores that lockfile and re-resolves every range, so ^4.2.0 and ^0.7.0 drifted to 4.5.3 and 0.7.4 — a pairing reanimated rejects.

Nothing about the app changed; the builds simply were not reproducible. yarn install --immutable uses the pinned versions and fails loudly if yarn.lock and package.json ever diverge.

Verified locally: yarn install --immutable completes clean against the current lockfile.

🤖 Generated with Claude Code

The Android build has been failing on master for a while with

  [Reanimated] Your installed version of Worklets (0.7.4) is not compatible
  with installed version of Reanimated (4.5.3). Please install Worklets 0.10.x
  or newer.

This is a Yarn 3 project with a committed yarn.lock pinning reanimated 4.2.0
and worklets 0.7.1, which are compatible. CI installed with npm, which ignores
that lockfile and re-resolves every range, so ^4.2.0 and ^0.7.0 drifted to
4.5.3 and 0.7.4 — a pairing reanimated rejects. Nothing about the app changed;
the builds simply were not reproducible.

Installing with `yarn install --immutable` uses the pinned versions and fails
loudly if the lockfile and package.json ever diverge.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@iebb
iebb had a problem deploying to Android auto-builder August 16, 2026 13:41 — with GitHub Actions Failure
@iebb
iebb merged commit 9c49148 into master Aug 16, 2026
1 check failed
@iebb
iebb deleted the fix/ci-use-yarn-lockfile branch August 16, 2026 13:41

This branch had an error being deployed

1 failed deployment
Android auto-builder — 66369154 Deployed Aug 16, 2026 by iebb via build #192
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant