mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-23 00:29:35 +01:00
8fe6f3e917
* use azure artifacts as new terrapin solution * debug * skip npm auth * bring back * also configure yarn * custom npm registry * oops * powershell * use none instead of empty string * uff
15 lines
325 B
Bash
Executable File
15 lines
325 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
echo "Installing remote dependencies"
|
|
(cd remote && rm -rf node_modules)
|
|
|
|
for i in {1..3}; do # try 3 times
|
|
yarn --cwd remote --frozen-lockfile --check-files && break
|
|
if [ $i -eq 3 ]; then
|
|
echo "Yarn failed too many times" >&2
|
|
exit 1
|
|
fi
|
|
echo "Yarn failed $i, trying again..."
|
|
done
|