Install release WebUI modules sequentially in CI
Some checks failed
Dependency Audit / dependency-audit (push) Successful in 1m36s
Release Integration / release-integration (push) Failing after 1m32s
Module Matrix / module-matrix (push) Successful in 3m54s

This commit is contained in:
2026-07-11 00:23:44 +02:00
parent 7b7cc8ada7
commit dc1a250797
4 changed files with 77 additions and 42 deletions

View File

@@ -41,19 +41,6 @@ jobs:
.venv/bin/python -m pip install 'pip-audit>=2.9,<3'
- name: Install WebUI release dependencies
working-directory: webui
run: |
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
for attempt in 1 2 3; do
if npm install --prefer-online; then
break
fi
if [ "$attempt" = 3 ]; then
exit 1
fi
sleep $((attempt * 10))
npm cache clean --force
done
run: bash ../scripts/install-webui-release-dependencies.sh .
- name: Run dependency audits
run: bash scripts/check-dependency-audits.sh