ci(gitea): don't fail pipeline on npm audit, npmmirror.com lacks the advisories endpoint
Some checks failed
Caterium QA / qa (push) Failing after 1m20s

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
pavlov346346-source 2026-09-23 14:24:50 +03:00
parent e5e4e4208d
commit 893f2f6a67

View File

@ -22,6 +22,14 @@ jobs:
node-version: 22 node-version: 22
- run: npm ci - run: npm ci
- name: Audit dependencies (retry service errors only) - name: Audit dependencies (retry service errors only)
# npmmirror.com (see NPM_CONFIG_REGISTRY above) doesn't implement
# npm's bulk security-advisories endpoint, so this always reports
# "audit endpoint returned an error" here even though installs
# work fine. The real audit still runs on GitHub-hosted runners
# against registry.npmjs.org (.github/workflows/qa.yml), so don't
# fail the whole Gitea pipeline over a check this runner can't
# physically perform.
continue-on-error: true
timeout-minutes: 4 timeout-minutes: 4
shell: bash shell: bash
run: | run: |