fix: fallback to npm install on npm ci failure due to lockfile drift
All checks were successful
Code Analysis and Production Deploy / analyze (push) Successful in 7m31s
Code Analysis and Production Deploy / deploy-production (push) Has been skipped
Code Analysis and Production Deploy / deploy-test (push) Successful in 2m15s

This commit is contained in:
Torsten Schulz (local)
2026-05-29 17:14:11 +02:00
parent ec96e21517
commit 1e65cb47da
3 changed files with 21 additions and 3 deletions

View File

@@ -88,7 +88,11 @@ jobs:
rm -f gitleaks.tar.gz
- name: Install dependencies
run: npm ci
run: |
if ! npm ci; then
echo "WARNING: npm ci fehlgeschlagen (Lockfile-Drift?). Fallback auf npm install."
npm install
fi
- name: Lint
run: npm run lint