aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml13
1 files changed, 7 insertions, 6 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c9e22150..a84daf30 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -22,12 +22,13 @@ jobs:
shell: bash
run: |
git clone --branch v1.5.4 --depth 1 https://github.com/jasongin/nvs.git ~/.nvs
- cd ~/.nvs
- chmod a+x ./nvs.sh
- while !(./nvs.sh --version); do git clean -xdf; done;
- while !(./nvs.sh add $NODE); do echo "'nvs add $NODE' failed - retrying..."; done;
- ./nvs.sh use $NODE
- cd -
+ while !(. ~/.nvs/nvs.sh add $NODE); do
+ cd ~/.nvs
+ git clean -xdf
+ cd -
+ done
+ . ~/.nvs/nvs.sh --version
+ nvs use $NODE
node --version
npm config set audit false
npm config set optional false