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

🏗 Pin yarn stable version to v1.22.4 #30658

Merged
merged 1 commit into from
Oct 14, 2020
Merged

🏗 Pin yarn stable version to v1.22.4 #30658

merged 1 commit into from
Oct 14, 2020

Conversation

rsimha
Copy link
Contributor

@rsimha rsimha commented Oct 14, 2020

AMP uses yarn v1 for package management. The latest two stable versions 1.22.10 and 1.22.5 appear to have intermittent GPG signature problems during installation. This PR does two things:

  • Pins the local dev version of yarn to 1.22.4
  • Removes the extra installation step for Travis' Xenial machines, which now come with 1.22.4 preinstalled

The long term fix is to pursue a replacement of our package management solution via #30518.

@erwinmombay erwinmombay merged commit b025f30 into ampproject:master Oct 14, 2020
@rsimha rsimha deleted the 2020-10-14-YarnTravis branch October 14, 2020 18:34
// TODO (KB): Revert #30478 once `yarn` stable is fixed
// At this time current stable is failing GPG checks.
const stableVersion = '1.22.5';
// TODO (kristoferbaxter): Remove once yarn stable is fixed.
Copy link
Contributor

Choose a reason for hiding this comment

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

Thank you for fixing up my incorrectly formatted todo as well!

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