workaround intermittent nodejs.org corruptions (#3766)
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -22,7 +22,7 @@ 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
|
||||||
while !(. ~/.nvs/nvs.sh add $NODE); do
|
while ! timeout 60 bash -c '. ~/.nvs/nvs.sh add $NODE && nvs use $NODE'; do
|
||||||
cd ~/.nvs
|
cd ~/.nvs
|
||||||
git clean -xdf
|
git clean -xdf
|
||||||
cd -
|
cd -
|
||||||
@@ -35,5 +35,5 @@ jobs:
|
|||||||
npm config set save false
|
npm config set save false
|
||||||
npm config set update-notifier false
|
npm config set update-notifier false
|
||||||
npm --version
|
npm --version
|
||||||
while !(npm install); do echo "'npm install' failed - retrying..."; done;
|
while !(npm install); do echo "'npm install' failed - retrying..."; done
|
||||||
node test/$TYPE
|
node test/$TYPE
|
||||||
|
|||||||
4
.github/workflows/ufuzz.yml
vendored
4
.github/workflows/ufuzz.yml
vendored
@@ -16,7 +16,7 @@ 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
|
||||||
while !(. ~/.nvs/nvs.sh add 10); do
|
while ! timeout 60 bash -c '. ~/.nvs/nvs.sh add 10 && nvs use 10'; do
|
||||||
cd ~/.nvs
|
cd ~/.nvs
|
||||||
git clean -xdf
|
git clean -xdf
|
||||||
cd -
|
cd -
|
||||||
@@ -29,5 +29,5 @@ jobs:
|
|||||||
npm config set save false
|
npm config set save false
|
||||||
npm config set update-notifier false
|
npm config set update-notifier false
|
||||||
npm --version
|
npm --version
|
||||||
while !(npm install); do echo "'npm install' failed - retrying..."; done;
|
while !(npm install); do echo "'npm install' failed - retrying..."; done
|
||||||
node test/ufuzz/job 3600000
|
node test/ufuzz/job 3600000
|
||||||
|
|||||||
Reference in New Issue
Block a user