Skip to content

Reinstitute the check to make sure yarn.lock is updated with package.json#10781

Merged
rsimha merged 5 commits intoampproject:masterfrom
rsimha:2017-08-03-Yarn
Aug 3, 2017
Merged

Reinstitute the check to make sure yarn.lock is updated with package.json#10781
rsimha merged 5 commits intoampproject:masterfrom
rsimha:2017-08-03-Yarn

Conversation

@rsimha
Copy link
Copy Markdown
Contributor

@rsimha rsimha commented Aug 3, 2017

This PR makes sure yarn.lock is updated when package.json is updated. The reverse check is not necessary because it's legitimate to update yarn.lock without touching package.json while bringing the yarn install on Travis up to date.

Fixes #10673
Related to #10671

@rsimha rsimha requested a review from erwinmombay August 3, 2017 20:17
@rsimha rsimha self-assigned this Aug 3, 2017
@rsimha
Copy link
Copy Markdown
Contributor Author

rsimha commented Aug 3, 2017

/to @erwinmombay

@rsimha
Copy link
Copy Markdown
Contributor Author

rsimha commented Aug 3, 2017

Here is an example of pr-check.js running on a PR that changes package.json, but doesn't update yarn.lock: https://travis-ci.org/ampproject/amphtml/jobs/260771315

This is now ready for review.

@rsimha rsimha requested a review from dreamofabear August 3, 2017 20:49
@rsimha
Copy link
Copy Markdown
Contributor Author

rsimha commented Aug 3, 2017

/to @choumx

@rsimha rsimha merged commit 477c121 into ampproject:master Aug 3, 2017
@rsimha rsimha deleted the 2017-08-03-Yarn branch August 3, 2017 21:18
cvializ added a commit that referenced this pull request Aug 3, 2017
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.

4 participants