Configure the yarn proxy support
The yarn package manager does not support automatic use of proxies via environment variables, so it needs to be a manual step.
We need to configure this in such a way that it will work on both the shared runner and trusted runner environments.
Bug: T365839