From ed16a0f7e3c938ad4f62a5131f083fef663105e1 Mon Sep 17 00:00:00 2001 From: Myles Borins Date: Mon, 25 Jun 2018 23:22:05 -0400 Subject: [PATCH 1/2] tools: s/npm install/npm ci `npm ci` is substantially faster than `npm install`. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7cf439180fa645..d281c97ee7c83d 100644 --- a/Makefile +++ b/Makefile @@ -620,7 +620,7 @@ available-node = \ exit 1; \ fi; -run-npm-install = $(PWD)/$(NPM) install --production --no-package-lock +run-npm-install = $(PWD)/$(NPM) ci --production --no-package-lock tools/doc/node_modules/js-yaml/package.json: cd tools/doc && $(call available-node,$(run-npm-install)) From 8b253081a8df8eef519c1faf6271c97cdfc3802a Mon Sep 17 00:00:00 2001 From: Myles Borins Date: Tue, 26 Jun 2018 15:53:51 -0400 Subject: [PATCH 2/2] fixup: address @targos's comment --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d281c97ee7c83d..ecc182d09c0baa 100644 --- a/Makefile +++ b/Makefile @@ -620,7 +620,7 @@ available-node = \ exit 1; \ fi; -run-npm-install = $(PWD)/$(NPM) ci --production --no-package-lock +run-npm-install = $(PWD)/$(NPM) ci --production tools/doc/node_modules/js-yaml/package.json: cd tools/doc && $(call available-node,$(run-npm-install))