Skip to content

Commit

Permalink
workaround intermittent nodejs.org corruptions (#3766)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlamsl authored Apr 7, 2020
1 parent 94bc221 commit 41eb4f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
shell: bash
run: |
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
git clean -xdf
cd -
Expand All @@ -35,5 +35,5 @@ jobs:
npm config set save false
npm config set update-notifier false
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
4 changes: 2 additions & 2 deletions .github/workflows/ufuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
shell: bash
run: |
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
git clean -xdf
cd -
Expand All @@ -29,5 +29,5 @@ jobs:
npm config set save false
npm config set update-notifier false
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

0 comments on commit 41eb4f1

Please sign in to comment.