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 && \