Skip to content

Commit

Permalink
fix export of PATH to Node.js (#3765)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlamsl authored Apr 6, 2020
1 parent 822d298 commit 94bc221
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/ufuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 94bc221

Please sign in to comment.