Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CI check that yarn.lock isn't updated during install #4662

Open
watson opened this issue Sep 9, 2024 · 0 comments
Open

Add CI check that yarn.lock isn't updated during install #4662

watson opened this issue Sep 9, 2024 · 0 comments
Labels
dev-ex Developer Experience

Comments

@watson
Copy link
Collaborator

watson commented Sep 9, 2024

If yarn.lock is updated as part of running yarn it means that the yarn.lock file wasn't in sync with the content of package.json. This should be flagged as an error and the PR blocked form being merged.

It probably means that the author forgot to commit changes to yarn.lock or introduced a bug in the file when editing it manually.

@watson watson added the dev-ex Developer Experience label Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev-ex Developer Experience
Projects
None yet
Development

No branches or pull requests

1 participant