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
Some checks failed
Caterium QA / qa (push) Failing after 1m20s
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
e5e4e4208d
commit
893f2f6a67
@ -22,6 +22,14 @@ jobs:
|
||||
node-version: 22
|
||||
- run: npm ci
|
||||
- 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
|
||||
shell: bash
|
||||
run: |
|
||||
|
||||
Loading…
Reference in New Issue
Block a user