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:
22
22
key : |
23
23
brew-cache-{{ arch }}-{{ .Environment.CACHE_VERSION }}
24
24
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
+
25
39
- run :
26
40
name : Configure Detox Environment
27
41
command : |
28
42
HOMEBREW_NO_AUTO_UPDATE=1 brew tap wix/brew >/dev/null
29
43
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
31
44
HOMEBREW_NO_AUTO_UPDATE=1 brew install applesimutils >/dev/null
32
45
HOMEBREW_NO_AUTO_UPDATE=1 brew cask install android-sdk >/dev/null
33
46
touch .watchmanconfig
You can’t perform that action at this time.
0 commit comments