fix: remove invalid npm config, keep http logging for diagnostics

This commit is contained in:
Celes Renata
2026-07-13 07:23:40 +00:00
parent 7df45f7e27
commit d18a63aab5
+1 -6
View File
@@ -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 ==="