[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 6988aa956e
commit 3b63e1c8fd
No known key found for this signature in database
GPG key ID: 30C56800FCA3828A

View file

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