Retry WebUI release dependency installs in CI
Some checks failed
Dependency Audit / dependency-audit (push) Successful in 1m44s
Module Matrix / module-matrix (push) Successful in 4m9s
Release Integration / release-integration (push) Failing after 2m47s

This commit is contained in:
2026-07-11 00:01:44 +02:00
parent 63e54a67be
commit 722c9e5d1c
3 changed files with 33 additions and 3 deletions

View File

@@ -43,6 +43,16 @@ jobs:
node -e "const fs=require('fs'); const pkg=JSON.parse(fs.readFileSync('package.json')); const rel=JSON.parse(fs.readFileSync('package.release.json')); for (const key of ['dependencies','devDependencies','peerDependencies','optionalDependencies','overrides']) if (rel[key]) pkg[key]=rel[key]; fs.writeFileSync('package.json', JSON.stringify(pkg, null, 2) + '\n');"
rm -f package-lock.json
npm cache clean --force
npm install --prefer-online
for attempt in 1 2 3; do
if npm install --prefer-online; then
break
fi
status=$?
if [ "$attempt" = 3 ]; then
exit "$status"
fi
sleep $((attempt * 10))
npm cache clean --force
done
- name: Run module matrix and contract tests
run: bash scripts/check-module-matrix.sh