improve resilience against nodejs.org failures (#3759)
This commit is contained in:
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
@@ -22,10 +22,17 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
git clone --branch v1.5.4 --depth 1 https://github.com/jasongin/nvs.git ~/.nvs
|
git clone --branch v1.5.4 --depth 1 https://github.com/jasongin/nvs.git ~/.nvs
|
||||||
. ~/.nvs/nvs.sh --version || . ~/.nvs/nvs.sh --version || . ~/.nvs/nvs.sh --version
|
cd ~/.nvs
|
||||||
|
. ./nvs.sh || { git clean -xdf && . ./nvs.sh; } || { git clean -xdf && . ./nvs.sh; }
|
||||||
|
cd -
|
||||||
|
nvs --version
|
||||||
nvs add $NODE || nvs add $NODE || nvs add $NODE
|
nvs add $NODE || nvs add $NODE || nvs add $NODE
|
||||||
nvs use $NODE
|
nvs use $NODE
|
||||||
node --version
|
node --version
|
||||||
npm --version --no-update-notifier
|
npm config set audit false
|
||||||
npm install --no-audit --no-optional --no-save --no-update-notifier
|
npm config set optional false
|
||||||
|
npm config set save false
|
||||||
|
npm config set update-notifier false
|
||||||
|
npm --version
|
||||||
|
npm install || npm install || npm install
|
||||||
node test/$TYPE
|
node test/$TYPE
|
||||||
|
|||||||
13
.github/workflows/ufuzz.yml
vendored
13
.github/workflows/ufuzz.yml
vendored
@@ -16,10 +16,17 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
git clone --branch v1.5.4 --depth 1 https://github.com/jasongin/nvs.git ~/.nvs
|
git clone --branch v1.5.4 --depth 1 https://github.com/jasongin/nvs.git ~/.nvs
|
||||||
. ~/.nvs/nvs.sh --version || . ~/.nvs/nvs.sh --version || . ~/.nvs/nvs.sh --version
|
cd ~/.nvs
|
||||||
|
. ./nvs.sh || { git clean -xdf && . ./nvs.sh; } || { git clean -xdf && . ./nvs.sh; }
|
||||||
|
cd -
|
||||||
|
nvs --version
|
||||||
nvs add 10 || nvs add 10 || nvs add 10
|
nvs add 10 || nvs add 10 || nvs add 10
|
||||||
nvs use 10
|
nvs use 10
|
||||||
node --version
|
node --version
|
||||||
npm --version --no-update-notifier
|
npm config set audit false
|
||||||
npm install --no-audit --no-optional --no-save --no-update-notifier
|
npm config set optional false
|
||||||
|
npm config set save false
|
||||||
|
npm config set update-notifier false
|
||||||
|
npm --version
|
||||||
|
npm install || npm install || npm install
|
||||||
node test/ufuzz/job 3600000
|
node test/ufuzz/job 3600000
|
||||||
|
|||||||
Reference in New Issue
Block a user