mirror of
https://git.sr.ht/~emersion/gamja
synced 2024-11-25 00:58:08 -05:00
ci: fail when ESLint reports warnings
This commit is contained in:
parent
d96e34da79
commit
b93db7ac0e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue