tweak(infra): install correct version of node in windows CI

This commit is contained in:
Evgeny Kochetkov
2021-01-26 18:31:46 +03:00
parent 85924b02db
commit 927a331c9a

View File

@@ -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