feat: use npm ci on ci
This commit is contained in:
parent
1fa91adae4
commit
d970bb7de7
1 changed files with 7 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue