fix: remove invalid npm config, keep http logging for diagnostics
This commit is contained in:
@@ -196,15 +196,10 @@ steps:
|
||||
commands:
|
||||
- echo "=== DNS diagnostics ==="
|
||||
- cat /etc/resolv.conf
|
||||
- echo "=== Testing IPv4 connectivity to registry.npmjs.org ==="
|
||||
- wget -4 --timeout=10 --spider https://registry.npmjs.org/ 2>&1 || echo "IPv4 wget FAILED"
|
||||
- echo "=== Testing IPv6 connectivity (expect failure) ==="
|
||||
- wget -6 --timeout=5 --spider https://registry.npmjs.org/ 2>&1 || echo "IPv6 wget FAILED (expected)"
|
||||
- echo "=== npm/node versions ==="
|
||||
- node --version
|
||||
- npm --version
|
||||
- echo "=== Setting npm to IPv4-only ==="
|
||||
- npm config set prefer-ip-address-family 4
|
||||
- echo "=== Setting npm config ==="
|
||||
- npm config set fetch-timeout 60000
|
||||
- npm config set loglevel http
|
||||
- echo "=== Starting npm ci ==="
|
||||
|
||||
Reference in New Issue
Block a user