File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -642,12 +642,8 @@ out/doc/api/assets/%: doc/api_assets/% out/doc/api/assets
642642 @cp $< $@
643643
644644
645- run-npm-install = $(PWD ) /$(NPM ) install --production --no-package-lock
646645run-npm-ci = $(PWD ) /$(NPM ) ci
647646
648- tools/doc/node_modules/js-yaml/package.json :
649- cd tools/doc && $(call available-node,$(run-npm-install ) )
650-
651647gen-api = tools/doc/generate.js --node-version=$(FULLVERSION ) \
652648 --analytics=$(DOCS_ANALYTICS ) $< --output-directory=out/doc/api
653649
@@ -1074,8 +1070,7 @@ lint-md-build: tools/remark-cli/node_modules \
10741070
10751071tools/doc/node_modules : tools/doc/package.json
10761072ifeq ($(node_use_openssl ) ,true)
1077- cd tools/doc && $(call available-node,$(run-npm-install))
1078- @touch $@
1073+ cd tools/doc && $(call available-node,$(run-npm-ci))
10791074else
10801075 @echo "Skipping tools/doc/node_modules (no crypto)"
10811076endif
@@ -1184,7 +1179,7 @@ LINT_CPP_FILES = $(filter-out $(LINT_CPP_EXCLUDE), $(wildcard \
11841179ADDON_DOC_LINT_FLAGS =-whitespace/ending_newline,-build/header_guard
11851180
11861181format-cpp-build :
1187- cd tools/clang-format && $(call available-node,$(run-npm-install ) )
1182+ cd tools/clang-format && $(call available-node,$(run-npm-ci ) )
11881183
11891184format-cpp-clean :
11901185 $(RM ) -r tools/clang-format/node_modules
Original file line number Diff line number Diff line change @@ -439,7 +439,7 @@ if not defined doc (
439439if exist " tools\doc\node_modules\unified\package.json" goto skip-install-doctools
440440SETLOCAL
441441cd tools\doc
442- %npm_exe% install
442+ %npm_exe% ci
443443cd ..\..
444444if errorlevel 1 goto exit
445445ENDLOCAL
You can’t perform that action at this time.
0 commit comments