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

Enable GitHub Actions Yarn Caching #1332

Closed
wants to merge 14 commits into from

Conversation

NickGerleman
Copy link
Contributor

@NickGerleman NickGerleman commented Jul 13, 2023

We sometimes see workflows fail due to network flakiness, almost always being Windows agents doing a yarn install. This change enables storing and reusing Yarn's package cache, and makes yarn install more permissive when it does hit the network. https://stackoverflow.com/questions/51508364/yarn-there-appears-to-be-trouble-with-your-network-connection-retrying

This enables GitHub Actions provided yarn caching based on lockfile. This should reduce the chance of workflows failing due to network flakiness during yarn install.
@facebook-github-bot
Copy link
Contributor

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

@NickGerleman NickGerleman marked this pull request as ready for review September 5, 2023 11:52
@facebook-github-bot
Copy link
Contributor

@NickGerleman merged this pull request in 95a7b44.

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.

2 participants