File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -22,12 +22,25 @@ steps:
2222 key : |
2323 brew-cache-{{ arch }}-{{ .Environment.CACHE_VERSION }}
2424
25+ - run :
26+ name : Install node@<<parameters.node_version>>
27+ command : |
28+ set +e
29+ touch $BASH_ENV
30+ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.5/install.sh | bash
31+ echo 'export NVM_DIR="$HOME/.nvm"' >> $BASH_ENV
32+ echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> $BASH_ENV
33+ echo nvm install <<parameters.node_version>> >> $BASH_ENV
34+ echo nvm alias default <<parameters.node_version>> >> $BASH_ENV
35+ - run :
36+ name : Verify node version
37+ command : node --version
38+
2539 - run :
2640 name : Configure Detox Environment
2741 command : |
2842 HOMEBREW_NO_AUTO_UPDATE=1 brew tap wix/brew >/dev/null
2943 HOMEBREW_NO_AUTO_UPDATE=1 brew tap homebrew/cask >/dev/null
30- HOMEBREW_NO_AUTO_UPDATE=1 brew install node@<<parameters.node_version>> >/dev/null
3144 HOMEBREW_NO_AUTO_UPDATE=1 brew install applesimutils >/dev/null
3245 HOMEBREW_NO_AUTO_UPDATE=1 brew cask install android-sdk >/dev/null
3346 touch .watchmanconfig
You can’t perform that action at this time.
0 commit comments