#50322: chore: Respect HTTP(S) proxy env variable for Yarn
Merged
Description of Change
-
This is a copy of @panther7's PR #49361 submitted by a maintainer since it touches a dependency or CI files, and per our contribution policy we do not accept these types of changes in PRs from non-maintainers. The work in this PR is @panther7's work.
-
Resolves #49171. Yarn installs that require a proxy can do so by setting the environment variables:
HTTP_PROXY- Proxy to use when making an HTTP request.HTTPS_PROXY- Proxy to use when making an HTTPS request.
Checklist
- PR description included
-
npm testpasses - PR release notes describe the change in a way relevant to app developers, and are capitalized, punctuated, and past tense.
Release Notes
Notes: Added support for using a proxy during yarn install
Backports
Semver Impact
Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.
Semantic Versioning helps users understand the impact of updates:
- Major (X.y.z): Breaking changes that may require code modifications
- Minor (x.Y.z): New features that maintain backward compatibility
- Patch (x.y.Z): Bug fixes that don't change the API
- None: Changes that don't affect using facing parts of Electron