Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce install network flake (#27464)
## Summary Avoids potentially flaky network calls leading to failures such as https://app.circleci.com/pipelines/github/facebook/react/47096/workflows/b7966c1d-199c-4185-8d17-ac6485235c3a/jobs/727782. Also makes install faster since we don't need the binary in CI seemingly. Electron itself is used to start the standalone binary. ## How did you test this change? - [x] CI still passes without the binary downloaded. I'm just trusting [their docs](https://www.electronjs.org/docs/latest/tutorial/installation) here that setting this actually ensures the binary isn't downloaded.
- Loading branch information
16619f1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
my brothers and sisters, help me i wanna learn how to use git hup
ins: Abdishakour.ali
16619f1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This code snippet is part of a CircleCI configuration and serves to optimize the CI/CD pipeline for a project. It checks the success of the Yarn installation and sets an environment variable to skip downloading Electron binaries in the CI environment. It also caches the Yarn package manager's cache for faster future builds.