Skip to content

Commit

Permalink
Use npm ci vs install (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
SorsOps authored Apr 14, 2024
1 parent 06ce097 commit fcc9991
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ test:
go test -timeout 60s $(shell go list ./...)

test-ui:
(cd web; npm install; npm run test)
(cd web; npm ci; npm run test)

.PHONY: build
build:
Expand All @@ -23,7 +23,7 @@ dist:

.PHONY: build-ui
build-ui:
(cd web; npm install; npm run build)
(cd web; npm ci; npm run build)
rm -rf cmd/capacitor/web/build
mkdir -p cmd/capacitor/web/build
@cp -r web/build/* cmd/capacitor/web/build

0 comments on commit fcc9991

Please sign in to comment.