ci: fail when ESLint reports warnings

This commit is contained in:
Simon Ser 2024-09-29 11:45:56 +02:00
parent d96e34da79
commit b93db7ac0e

View file

@ -15,7 +15,7 @@ tasks:
npm run build
- lint: |
cd gamja
npm run lint
npm run -- lint --max-warnings 0
- deploy: |
cd gamja/dist
[ "$(git rev-parse HEAD)" = "$(git rev-parse origin/master)" ] || complete-build