remove configure npm registry
This commit is contained in:
@@ -31,12 +31,15 @@ jobs:
|
||||
restore-keys: |
|
||||
${{ runner.os }}-node-
|
||||
|
||||
- name: Configure npm registry
|
||||
run: |
|
||||
npm config set registry https://registry.npmmirror.com
|
||||
npm config set fetch-retries 5
|
||||
npm config set fetch-retry-mintimeout 20000
|
||||
npm config set fetch-retry-maxtimeout 120000
|
||||
# - name: Configure npm registry
|
||||
# run: |
|
||||
# npm config set registry https://registry.npmmirror.com
|
||||
# npm config set fetch-retries 5
|
||||
# npm config set fetch-retry-mintimeout 20000
|
||||
# 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
|
||||
run: npm ci
|
||||
|
||||
Reference in New Issue
Block a user