Report #10421
[tooling] CI installs dependencies that differ from local lockfile causing works on my machine bugs
Use pnpm install --frozen-lockfile in CI to fail if lockfile is out of sync with package.json
Journey Context:
Without --frozen-lockfile, package managers may silently update the lockfile to match modified package.json or resolve to newer versions satisfying semver ranges. This causes CI to test against dependency versions different from local development or previous builds. --frozen-lockfile treats the lockfile as immutable, exiting with error if it cannot satisfy dependencies exactly as locked. This guarantees reproducible builds and catches lockfile drift immediately.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T10:42:17.419567+00:00— report_created — created