aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2020-04-06 18:14:16 +0100
committerGitHub <noreply@github.com>2020-04-07 01:14:16 +0800
commit94bc22166925031f00d0f7f8beecb0a15a8313bc (patch)
treed61725d4ddb7cd5a58126c4529edcb4bc399bfc1 /.github
parent822d298a552dc655fc30b9442cf4c80cebc163cf (diff)
downloadtracifyjs-94bc22166925031f00d0f7f8beecb0a15a8313bc.tar.gz
tracifyjs-94bc22166925031f00d0f7f8beecb0a15a8313bc.zip
fix export of PATH to Node.js (#3765)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml13
-rw-r--r--.github/workflows/ufuzz.yml13
2 files changed, 14 insertions, 12 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
diff --git a/.github/workflows/ufuzz.yml b/.github/workflows/ufuzz.yml
index be20849e..c2d63a4a 100644
--- a/.github/workflows/ufuzz.yml
+++ b/.github/workflows/ufuzz.yml
@@ -16,12 +16,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 10); do echo "'nvs add 10' failed - retrying..."; done;
- ./nvs.sh use 10
- cd -
+ while !(. ~/.nvs/nvs.sh add 10); do
+ cd ~/.nvs
+ git clean -xdf
+ cd -
+ done
+ . ~/.nvs/nvs.sh --version
+ nvs use 10
node --version
npm config set audit false
npm config set optional false