improve resilience against nodejs.org failures (#3758)

This commit is contained in:
Alex Lam S.L
2020-03-30 03:20:13 +01:00
committed by GitHub
parent b5f4e1187f
commit c69c026728
2 changed files with 7 additions and 7 deletions

View File

@@ -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

View File

@@ -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