Skip to content

Commit 85754a2

Browse files
committed
fix: ignore npm registry audit 410 error in CI
npm retired the /-/npm/v1/security/audits endpoint, causing pnpm audit to fail with 410 on every CI run. Use the built-in --ignore-registry-errors flag so the audit still runs when the registry is available but doesn't block CI when it's down.
1 parent 805eabb commit 85754a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
run: pnpm format:check
4545

4646
- name: Audit production dependencies
47-
run: pnpm audit --prod --audit-level high
47+
run: pnpm audit --prod --audit-level high --ignore-registry-errors
4848

4949
# Job 2: Unit tests with coverage
5050
# Node 24.x matches package.json engines and the Quality / Build jobs (tests failed on 20.x + Vitest forks).

0 commit comments

Comments
 (0)