Skip to content

Commit 328f880

Browse files
wtgodbeCopilot
andcommitted
Disable npm audit in CI to prevent ETIMEDOUT failures
npm 11.x runs 'npm audit' by default during 'npm ci' and treats network failures on the security advisories endpoint as hard errors. The AzDO feed's advisories/bulk endpoint intermittently times out, causing build failures with exit code -1 and ETIMEDOUT. The audit is non-essential for CI builds — we don't need to block on checking for known vulnerabilities during every build. Co-authored-by: Copilot <[email protected]>
1 parent fb2bd3e commit 328f880

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
registry=https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public-npm/npm/registry/
2+
audit=false
23
fetch-retries=5
34
fetch-retry-factor=2
45
fetch-retry-maxtimeout=120000

0 commit comments

Comments
 (0)