remove configure npm registry
Some checks failed
CI / build-and-test (push) Failing after 8m33s
CI / deploy (push) Has been skipped

This commit is contained in:
SpecialX
2026-02-25 12:36:20 +08:00
parent 9c83fcc7c1
commit 0f38e97b4e

View File

@@ -31,12 +31,15 @@ jobs:
restore-keys: | restore-keys: |
${{ runner.os }}-node- ${{ runner.os }}-node-
- name: Configure npm registry # - name: Configure npm registry
run: | # run: |
npm config set registry https://registry.npmmirror.com # npm config set registry https://registry.npmmirror.com
npm config set fetch-retries 5 # npm config set fetch-retries 5
npm config set fetch-retry-mintimeout 20000 # npm config set fetch-retry-mintimeout 20000
npm config set fetch-retry-maxtimeout 120000 # npm config set fetch-retry-maxtimeout 120000
# npm config set audit false
# if [ -n "$HTTP_PROXY" ]; then npm config set proxy "$HTTP_PROXY"; fi
# if [ -n "$HTTPS_PROXY" ]; then npm config set https-proxy "$HTTPS_PROXY"; fi
- name: Install dependencies - name: Install dependencies
run: npm ci run: npm ci