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

[ci] Upgrade the version of Yarn to 0.27.5 for CI #14883

Closed
wants to merge 1 commit into from

Conversation

ide
Copy link
Contributor

@ide ide commented Jul 7, 2017

The TravisCI tests were using an especially old version of Yarn. Upgrade to 0.27.5 so we're using a version closer to the version that more people (and especially RN maintainers) would be using.

Test plan: Look at the OSS CI tests; make sure there are no Yarn / node_module errors.

@ide ide requested a review from bestander July 7, 2017 07:43
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. GH Review: review-needed labels Jul 7, 2017
@javache
Copy link
Member

javache commented Jul 7, 2017

Any reason we shouldn't use the latest release of yarn always (e.g. brew install yarn --ignore-dependencies). It seems like we'll forget to update this anyway.

The TravisCI tests were using an especially old version of Yarn. Upgrade to use the latest so we're using a version closer to the version that more people (and especially RN maintainers) would be using.

Kept the Docker Yarn version static since people run that on their own machines and being more reproducible and static is helpful (vs CI that we can quickly react to).

Test plan: Look at the OSS CI tests; make sure there are no Yarn / node_module errors.
@ide
Copy link
Contributor Author

ide commented Jul 7, 2017

@javache Nice suggestion, let's give it a try. I kept the Yarn version in the Docker setup static because I think it's intended for people to run it on their own machines, and erring on the side of having fewer moving parts is more helpful in that context I think.

@ide
Copy link
Contributor Author

ide commented Jul 7, 2017

Travis E2E tests pass so I think this worked, I don't see any Yarn-related errors.

@facebook-github-bot facebook-github-bot added GH Review: accepted Import Started This pull request has been imported. This does not imply the PR has been approved. and removed GH Review: review-needed labels Jul 7, 2017
@facebook-github-bot
Copy link
Contributor

@javache has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@ide ide deleted the upgrade-yarn branch July 7, 2017 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Import Started This pull request has been imported. This does not imply the PR has been approved.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants