feat: use npm ci on ci

This commit is contained in:
Henrique Dias 2019-05-12 09:23:11 +01:00
parent 1fa91adae4
commit d970bb7de7

View File

@ -30,7 +30,13 @@ buildAssets () {
rm -f http/rice-box.go rm -f http/rice-box.go
cd $REPO/frontend cd $REPO/frontend
npm install
if [ "$CI" = "true" ]; then
npm ci
else
npm install
fi
npm run build npm run build
} }