Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
DEVPROD-787: Retry Node installation
Browse files Browse the repository at this point in the history
  • Loading branch information
minnakt committed Feb 29, 2024
1 parent d52e011 commit de0a8df
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .evergreen.yml
Original file line number Diff line number Diff line change
@@ -109,7 +109,12 @@ functions:
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
cd -
nvm install --no-progress --default ${node_version}
# Retry the download for Node in case it flakes.
for i in {1..5}; do
nvm install --no-progress --default ${node_version}
[[ $? -eq 0 ]] && break
sleep 10
done
npm install -g yarn
run-make-background:

0 comments on commit de0a8df

Please sign in to comment.