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