From d970bb7de7b74a516027424c003bf768920a3911 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Sun, 12 May 2019 09:23:11 +0100 Subject: [PATCH] feat: use npm ci on ci --- wizard.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/wizard.sh b/wizard.sh index 820204b4..29563d30 100755 --- a/wizard.sh +++ b/wizard.sh @@ -30,7 +30,13 @@ buildAssets () { rm -f http/rice-box.go cd $REPO/frontend - npm install + + if [ "$CI" = "true" ]; then + npm ci + else + npm install + fi + npm run build }