Füge --no-audit und --fund=false zu npm-Befehlen in den Deployment-Skripten hinzu, um potenzielle Blockierungen während der Installation zu vermeiden.
All checks were successful
Code Analysis and Production Deploy / analyze (push) Successful in 4m54s
Code Analysis and Production Deploy / deploy-production (push) Has been skipped
Code Analysis and Production Deploy / deploy-test (push) Successful in 2m56s

This commit is contained in:
Torsten Schulz (local)
2026-09-09 13:24:11 +02:00
parent e02de6cbb2
commit 5e8006323b
4 changed files with 217 additions and 177 deletions

View File

@@ -69,14 +69,17 @@ has_tracked_files_under() {
install_dependencies() {
if [ -f "package-lock.json" ]; then
echo " Running: npm ci"
if ! npm ci; then
echo " Running: npm ci --no-audit"
# The registry audit endpoint is independent of package installation and
# can be temporarily unavailable (e.g. DNS EAI_AGAIN). Do not block a
# test rollout on that external advisory lookup.
if ! npm ci --no-audit --fund=false; then
echo " WARNING: npm ci fehlgeschlagen (Lockfile ggf. nicht synchron). Fallback auf npm install..."
npm install
npm install --no-audit --fund=false
fi
else
echo " WARNING: package-lock.json fehlt. Führe npm install aus..."
npm install
npm install --no-audit --fund=false
fi
}