feat(1.94): update patches and build process (#2047)

This commit is contained in:
Baptiste Augrain
2024-10-07 16:33:38 +02:00
committed by GitHub
parent 5e4ba54b43
commit 48cabed6ba
17 changed files with 316 additions and 280 deletions

View File

@@ -32,12 +32,12 @@ if [[ -d "../patches/alpine/reh/" ]]; then
fi
for i in {1..5}; do # try 5 times
yarn --frozen-lockfile --check-files && break
npm ci && break
if [[ $i == 3 ]]; then
echo "Yarn failed too many times" >&2
echo "Npm install failed too many times" >&2
exit 1
fi
echo "Yarn failed $i, trying again..."
echo "Npm install failed $i, trying again..."
done
node build/azure-pipelines/distro/mixin-npm