Skip to content

ci: Verify yarn.lock stability via git diff#21115

Merged
mydea merged 1 commit into
developfrom
feat/check-lockfile-with-git-diff
May 22, 2026
Merged

ci: Verify yarn.lock stability via git diff#21115
mydea merged 1 commit into
developfrom
feat/check-lockfile-with-git-diff

Conversation

@mydea
Copy link
Copy Markdown
Member

@mydea mydea commented May 22, 2026

Summary

  • The job_check_lockfile step in build.yml previously ran yarn install --frozen-lockfile, which has repeatedly failed to detect lockfile drift in practice.
  • Switched to a regular yarn install followed by git diff --exit-code yarn.lock, so any modification yarn actually makes to the lockfile fails the job with a clear annotation.

🤖 Generated with Claude Code

Replace `yarn install --frozen-lockfile` with a regular install followed by
a `git diff --exit-code yarn.lock` check. `--frozen-lockfile` has repeatedly
failed to detect lockfile drift; comparing against the committed lockfile
catches any modification yarn actually makes.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@mydea mydea merged commit 88f871c into develop May 22, 2026
76 checks passed
@mydea mydea deleted the feat/check-lockfile-with-git-diff branch May 22, 2026 08:12
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.

4 participants