From fe67287306a98e8b400995c9195b933360614d9a Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Fri, 13 Jul 2018 14:37:56 -0700 Subject: build: move to `npm ci` where possible Recent events (involving a maliciously published version of a popular module's dependency) have reinvigorated my interest in seeing us move to `npm ci` instead of `npm install`. This moves us to `npm ci` where possible in Makefile and vcbuild.bat. PR-URL: https://github.com/nodejs/node/pull/21802 Reviewed-By: Tiancheng "Timothy" Gu Reviewed-By: Richard Lau Reviewed-By: Refael Ackermann Reviewed-By: James M Snell --- vcbuild.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vcbuild.bat') diff --git a/vcbuild.bat b/vcbuild.bat index 368112edf9..fa14e321e6 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -614,12 +614,12 @@ if not defined lint_md_build goto lint-md SETLOCAL echo Markdown linter: installing remark-cli into tools\ cd tools\remark-cli -%npm_exe% install +%npm_exe% ci cd ..\.. if errorlevel 1 goto lint-md-build-failed echo Markdown linter: installing remark-preset-lint-node into tools\ cd tools\remark-preset-lint-node -%npm_exe% install +%npm_exe% ci cd ..\.. if errorlevel 1 goto lint-md-build-failed ENDLOCAL -- cgit v1.2.3