aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2020-04-07 01:40:38 +0100
committerGitHub <noreply@github.com>2020-04-07 08:40:38 +0800
commit41eb4f172552e8d20831673ae5019f9e54b37c11 (patch)
tree6d0ff2b313d28122528e4f7c9839fb1b19534ae2 /.github/workflows/ci.yml
parent94bc22166925031f00d0f7f8beecb0a15a8313bc (diff)
downloadtracifyjs-41eb4f172552e8d20831673ae5019f9e54b37c11.tar.gz
tracifyjs-41eb4f172552e8d20831673ae5019f9e54b37c11.zip
workaround intermittent nodejs.org corruptions (#3766)
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a84daf30..6b1d796c 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -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 -
@@ -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