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

feat: fail if lockfile isn't up to date #11

Merged
merged 3 commits into from
Feb 15, 2023
Merged

Conversation

TomAFrench
Copy link
Member

@TomAFrench TomAFrench commented Feb 15, 2023

We currently don't have frozen locked lockfiles when running CI so it can lead to situations like this where CI passes for a commit where if you build it you'll end up with a completely different lockfile.

This PR ensures that CI will fail in these cases.

Copy link
Contributor

@phated phated left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@TomAFrench This is great! Should it also be added to the test workflows?

@TomAFrench
Copy link
Member Author

@phated Whoops! Must have scrolled past that one. Added it now.

Also realised I used the wrong flag and we wanted locked not frozen.

@TomAFrench TomAFrench merged commit 56e7574 into main Feb 15, 2023
@TomAFrench TomAFrench deleted the frozen-lock-files branch February 15, 2023 18:24
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.

2 participants