MAPG-203 install NPM packages on install and update
All checks were successful
default-pipeline default-pipeline #36

This commit is contained in:
Bence Pőcze 2021-03-20 10:36:40 +01:00
parent 02fcbd2f9c
commit a9cda56586
Signed by: bence
GPG Key ID: AA52B11A3269D1C1
2 changed files with 6 additions and 0 deletions

View File

@ -9,6 +9,9 @@ if [ -f ${ROOT_DIR}/installed ]; then
exit 1
fi
echo "Installing NPM packages..."
(cd ${ROOT_DIR}/multi && npm install)
echo "Installing Yarn packages..."
(cd ${ROOT_DIR}/public/static && yarn install)

View File

@ -11,6 +11,9 @@ else
(cd ${ROOT_DIR} && composer install --dev)
fi
echo "Installing NPM packages..."
(cd ${ROOT_DIR}/multi && npm install)
echo "Installing Yarn packages..."
(cd ${ROOT_DIR}/public/static && yarn install)