summaryrefslogtreecommitdiff
path: root/vcbuild.bat
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2018-07-13 14:37:56 -0700
committerRich Trott <rtrott@gmail.com>2018-07-19 13:49:14 -0700
commitfe67287306a98e8b400995c9195b933360614d9a (patch)
tree2393c350491c2967720944a291dedb060c24fb2b /vcbuild.bat
parent4f47f62d8ea8e7d88cff6ae4b3523550c496a2a2 (diff)
downloadandroid-node-v8-fe67287306a98e8b400995c9195b933360614d9a.tar.gz
android-node-v8-fe67287306a98e8b400995c9195b933360614d9a.tar.bz2
android-node-v8-fe67287306a98e8b400995c9195b933360614d9a.zip
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 <timothygu99@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'vcbuild.bat')
-rw-r--r--vcbuild.bat4
1 files changed, 2 insertions, 2 deletions
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