Skip to content

Commit 6449d50

Browse files
[macos] add retries to yarn install script (#8593)
1 parent 87d3221 commit 6449d50

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

images/macos/provision/core/node.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ brew_smart_install "node@$defaultVersion"
88
brew link node@$defaultVersion --force --overwrite
99

1010
echo Installing yarn...
11-
curl -fsSL https://yarnpkg.com/install.sh | bash
11+
download_with_retries "https://yarnpkg.com/install.sh" "/tmp" "yarn-install.sh"
12+
bash /tmp/yarn-install.sh
1213

1314
if ! is_Ventura || ! is_VenturaArm64; then
1415
npm_global_packages=$(get_toolset_value '.npm.global_packages[].name')

0 commit comments

Comments
 (0)