From bf6668466207ad261fee0c466d7b9f8b812af1f9 Mon Sep 17 00:00:00 2001 From: Eugenio Romano Date: Tue, 2 Feb 2021 07:45:30 +0000 Subject: [PATCH] Update lint.sh (#6614) --- scripts/lint.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/lint.sh b/scripts/lint.sh index 770752391e..31f140060d 100755 --- a/scripts/lint.sh +++ b/scripts/lint.sh @@ -8,6 +8,11 @@ if grep "envalfresco" . -R --exclude-dir={node_modules,.history,.idea,scripts,di exit 1 fi +if [ "$CI" == true ]; then + npm install --ignore-scripts +fi + + nx affected:lint --parallel --all --maxParallel=9 && \ npm run lint-e2e && \ npm run stylelint && \