2021-02-02 07:45:30 +00:00

21 lines
478 B
Bash
Executable File

#!/usr/bin/env bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "$DIR/../"
if grep "envalfresco" . -R --exclude-dir={node_modules,.history,.idea,scripts,dist,e2e-output,.git} --exclude={.env,.env.*}; then
echo not permitted word
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 && \
npm run spellcheck && \
npm run license-checker