mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
[perf] use npm ci --only=production for all but web
This commit is contained in:
parent
d6928bc7fc
commit
aa5a9b0e65
1 changed files with 9 additions and 1 deletions
|
@ -8,7 +8,15 @@ grep 'name:' config/services.js | \
|
||||||
do
|
do
|
||||||
pushd $service
|
pushd $service
|
||||||
echo "Installing service $service"
|
echo "Installing service $service"
|
||||||
|
case $service in
|
||||||
|
web)
|
||||||
|
# install webpack and friends from dev-dependencies.
|
||||||
npm ci
|
npm ci
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
npm ci --only=production
|
||||||
|
;;
|
||||||
|
esac
|
||||||
popd
|
popd
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue