Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 70a2bbf

Browse files
Use npm ci instead of npm install to bootstrap
1 parent 23f6fc3 commit 70a2bbf

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Example/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dist/JavaScriptKitExample.wasm: JavaScriptKitExample
1010
cp ./JavaScriptKitExample/.build/debug/JavaScriptKitExample $@
1111

1212
node_modules:
13-
npm install
13+
npm ci
1414
build: node_modules dist/JavaScriptKitExample.wasm
1515
cd ../Runtime && npm run build
1616
npm run build

IntegrationTests/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dist/%.wasm: TestSuites/.build/$(CONFIGURATION)/%.wasm
1212
cp $< $@
1313

1414
node_modules: package-lock.json
15-
npm install
15+
npm ci
1616

1717
.PHONY: build_rt
1818
build_rt: node_modules

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ MAKEFILE_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
33
.PHONY: bootstrap
44
bootstrap:
55
./scripts/install-toolchain.sh
6-
npm install
6+
npm ci
77

88
.PHONY: build
99
build:
@@ -26,4 +26,4 @@ run_benchmark:
2626

2727
.PHONY: perf-tester
2828
perf-tester:
29-
cd ci/perf-tester && npm install
29+
cd ci/perf-tester && npm ci

0 commit comments

Comments
 (0)