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
|
rm -f http/rice-box.go
|
||||||
|
|
||||||
cd $REPO/frontend
|
cd $REPO/frontend
|
||||||
|
|
||||||
|
if [ "$CI" = "true" ]; then
|
||||||
|
npm ci
|
||||||
|
else
|
||||||
npm install
|
npm install
|
||||||
|
fi
|
||||||
|
|
||||||
npm run build
|
npm run build
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue