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

Use --frozen-lockfile for Yarn in CI build #12914

Merged
merged 1 commit into from
May 28, 2018
Merged

Use --frozen-lockfile for Yarn in CI build #12914

merged 1 commit into from
May 28, 2018

Conversation

Daniel15
Copy link
Member

CI builds should always use the --frozen-lockfile option. It will fail the build if the lockfile is out-of-date:

If you need reproducible dependencies, which is usually the case with the continuous integration systems, you should pass --frozen-lockfile flag.

(https://yarnpkg.com/en/docs/cli/install/)

CI builds should always use the `--frozen-lockfile` option. It will fail the build if the lockfile is out-of-date:

> If you need reproducible dependencies, which is usually the case with the continuous integration systems, you should pass --frozen-lockfile flag.

(https://yarnpkg.com/en/docs/cli/install/)
@gaearon gaearon merged commit a32f857 into master May 28, 2018
@gaearon
Copy link
Collaborator

gaearon commented May 28, 2018

Thanks! Should we also do this in AppVeyor config?

@Daniel15
Copy link
Member Author

Oh, good catch! That's probably a good idea.

@Daniel15 Daniel15 deleted the Daniel15-patch-1 branch May 28, 2018 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants