Use npm ci instead of npm install during build (#1080)

Currently the client build is not reproducible since, each time you run
`make build-client` the package lockfile is updated. This should be
handled separately by `make gen-package-lock` when developers actually
want to update the dependencies.

`npm ci` installs dependencies directly from the lockfile without
updating them, making builds reproducible.
This commit is contained in:
Matt Weiden
2020-01-02 10:21:14 -08:00
committed by GitHub
parent 6370025caf
commit 0b1bdca022
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -2,6 +2,10 @@
clean:
rm -rf node_modules
.PHONY: ci
ci:
npm ci client
.PHONY: install
install:
npm install client