From 927a331c9aa4da7188ee09156cb67bc791856c19 Mon Sep 17 00:00:00 2001 From: Evgeny Kochetkov Date: Tue, 26 Jan 2021 18:31:46 +0300 Subject: [PATCH] tweak(infra): install correct version of node in windows CI --- .circleci/config.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a2d36c46..159f9158 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -75,8 +75,9 @@ defs: step-install-node-on-windows: &step-install-node-on-windows name: Install node command: | - nvm install 12.12.0 - nvm use 12.12.0 + nvm install `cat .nvmrc` + nvm use `cat .nvmrc` + shell: bash step-install-yarn-on-windows: &step-install-yarn-on-windows name: Install yarn @@ -183,9 +184,9 @@ jobs: name: win/default steps: - run: *step-configure-git-on-windows + - checkout - run: *step-install-node-on-windows - run: *step-install-yarn-on-windows - - checkout - run: name: Install Node modules command: yarn @@ -282,9 +283,9 @@ jobs: name: win/default steps: - run: *step-configure-git-on-windows + - checkout - run: *step-install-node-on-windows - run: *step-install-yarn-on-windows - - checkout - run: *step-install-arduino-cli-on-windows - run: name: Install Node modules