run lint after npm install

This commit is contained in:
Denys Vuika
2019-05-24 13:00:58 +01:00
parent 215f8106ca
commit 7f4e301ec0

View File

@@ -120,10 +120,6 @@ done
cd "$DIR/../"
if $EXECLINT == true; then
./scripts/lint.sh || exit 1;
fi
if $EXEC_CLEAN == true; then
echo "====== Clean components ====="
npm install rimraf -g
@@ -135,6 +131,10 @@ if $EXEC_INSTALL == true; then
npm install
fi
if $EXECLINT == true; then
./scripts/lint.sh || exit 1;
fi
if $EXEC_GIT_NPM_INSTALL_JSAPI == true; then
echo "====== Use the alfresco JS-API '$GIT_ISH'====="
npm install $GIT_ISH --no-save