[macos] add retries to yarn install script (#8593)
This commit is contained in:
@@ -8,7 +8,8 @@ brew_smart_install "node@$defaultVersion"
|
|||||||
brew link node@$defaultVersion --force --overwrite
|
brew link node@$defaultVersion --force --overwrite
|
||||||
|
|
||||||
echo Installing yarn...
|
echo Installing yarn...
|
||||||
curl -fsSL https://yarnpkg.com/install.sh | bash
|
download_with_retries "https://yarnpkg.com/install.sh" "/tmp" "yarn-install.sh"
|
||||||
|
bash /tmp/yarn-install.sh
|
||||||
|
|
||||||
if ! is_Ventura || ! is_VenturaArm64; then
|
if ! is_Ventura || ! is_VenturaArm64; then
|
||||||
npm_global_packages=$(get_toolset_value '.npm.global_packages[].name')
|
npm_global_packages=$(get_toolset_value '.npm.global_packages[].name')
|
||||||
|
|||||||
Reference in New Issue
Block a user