[perf] use npm ci --only=production for all but web

This commit is contained in:
Jakob Ackermann 2021-07-07 13:14:55 +01:00
parent d6928bc7fc
commit aa5a9b0e65

View file

@ -8,7 +8,15 @@ grep 'name:' config/services.js | \
do do
pushd $service pushd $service
echo "Installing service $service" echo "Installing service $service"
npm ci case $service in
web)
# install webpack and friends from dev-dependencies.
npm ci
;;
*)
npm ci --only=production
;;
esac
popd popd
done done