aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2020-03-30 03:20:13 +0100
committerGitHub <noreply@github.com>2020-03-30 10:20:13 +0800
commitc69c0267289d993638a3ec94461527da54a5919f (patch)
tree1e7ea5ef9feaad8ca17a16839a94c3bc4e6651c7
parentb5f4e1187f83768d00d8d3b105e4bc97efbac529 (diff)
downloadtracifyjs-c69c0267289d993638a3ec94461527da54a5919f.tar.gz
tracifyjs-c69c0267289d993638a3ec94461527da54a5919f.zip
improve resilience against nodejs.org failures (#3758)
-rw-r--r--.github/workflows/ci.yml8
-rw-r--r--.github/workflows/ufuzz.yml6
2 files changed, 7 insertions, 7 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index acf241d4..c8ee8e97 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -4,7 +4,7 @@ jobs:
test:
strategy:
matrix:
- node: [ "0.10", "0.12", 4, 6, 8, 10, latest ]
+ node: [ "0.10", "0.12", "4", "6", "8", "10", latest ]
os: [ ubuntu-latest, windows-latest ]
script: [ compress, mocha, release/benchmark, release/jetstream ]
name: ${{ matrix.node }} ${{ matrix.os }} ${{ matrix.script }}
@@ -21,9 +21,9 @@ jobs:
- name: Perform tests
shell: bash
run: |
- git clone --branch v1.5.3 --depth 1 https://github.com/jasongin/nvs.git ~/.nvs
- . ~/.nvs/nvs.sh --version
- nvs add $NODE
+ 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
+ nvs add $NODE || nvs add $NODE || nvs add $NODE
nvs use $NODE
node --version
npm --version --no-update-notifier
diff --git a/.github/workflows/ufuzz.yml b/.github/workflows/ufuzz.yml
index 4e067910..9d755bbf 100644
--- a/.github/workflows/ufuzz.yml
+++ b/.github/workflows/ufuzz.yml
@@ -15,9 +15,9 @@ jobs:
- name: Perform fuzzing
shell: bash
run: |
- git clone --branch v1.5.3 --depth 1 https://github.com/jasongin/nvs.git ~/.nvs
- . ~/.nvs/nvs.sh --version
- nvs add 10
+ 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
+ nvs add 10 || nvs add 10 || nvs add 10
nvs use 10
node --version
npm --version --no-update-notifier