Skip to content

Commit

Permalink
[TeamCity] - Set node default version on the prepare job (#45722)
Browse files Browse the repository at this point in the history
  • Loading branch information
scinos authored Sep 17, 2020
1 parent 34f80f3 commit ff29422
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .teamcity/settings.kts
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,9 @@ object RunAllUnitTests : BuildType({
export npm_config_cache=${'$'}(yarn cache dir)
# Update node
. "${'$'}NVM_DIR/nvm.sh" --install
nvm use
. "${'$'}NVM_DIR/nvm.sh" --no-use
nvm install
nvm alias default $(cat .nvmrc)
# Install modules
yarn install
Expand Down

0 comments on commit ff29422

Please sign in to comment.