remove configure npm registry
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user