Skip to content

Commit

Permalink
#179: Fix install.sh for 'nvm use'
Browse files Browse the repository at this point in the history
  • Loading branch information
mvandeberg committed Nov 28, 2022
1 parent 2e885d2 commit 4ada5a6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ci/after_success.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash

set -e
set -x

COMMIT_HASH=`git rev-parse --short HEAD`

if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
Expand Down
5 changes: 4 additions & 1 deletion ci/install.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash

set -e
set -x

eval "$(gimme $GO_VERSION)"
source ~/.gimme/envs/go$GO_VERSION.env

Expand All @@ -24,7 +27,7 @@ pwd
curl https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | sh
source ~/.nvm/nvm.sh
nvm install $NODE_VERSION
nvm usm $NODE_VERSION
nvm use $NODE_VERSION

node --version

Expand Down

0 comments on commit 4ada5a6

Please sign in to comment.