From 47ff7851fc72eb84acc4014027dd6a10f8c5816a Mon Sep 17 00:00:00 2001 From: Sergio Cinos Date: Thu, 17 Sep 2020 12:20:12 +0200 Subject: [PATCH] [TeamCity] - Set node default version on the prepare job --- .teamcity/settings.kts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.teamcity/settings.kts b/.teamcity/settings.kts index 4b39fcccae33ff..20d59da70fb687 100644 --- a/.teamcity/settings.kts +++ b/.teamcity/settings.kts @@ -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