tweak(infra): use caching for node_modules in windows CI

This commit is contained in:
Evgeny Kochetkov
2021-01-26 18:32:16 +03:00
parent e9ca54807d
commit ce3bd06e15

View File

@@ -185,11 +185,13 @@ jobs:
steps:
- run: *step-configure-git-on-windows
- checkout
- restore_cache: *restore-node_modules
- run: *step-install-node-on-windows
- run: *step-install-yarn-on-windows
- run:
name: Install Node modules
command: yarn
- save_cache: *cache-node_modules
- run: *step-build
- run: *step-verify-git-clean
@@ -284,6 +286,7 @@ jobs:
steps:
- run: *step-configure-git-on-windows
- checkout
- restore_cache: *restore-node_modules
- run: *step-install-node-on-windows
- run: *step-install-yarn-on-windows
- run: *step-install-arduino-cli-on-windows