Reviewdog: Fail on error
This commit is contained in:
parent
bfba6a95ee
commit
fcda8dd75a
3
.github/workflows/validate-js.yml
vendored
3
.github/workflows/validate-js.yml
vendored
@ -54,7 +54,7 @@ jobs:
|
||||
run: yarn install --frozen-lockfile --cwd example
|
||||
|
||||
- name: Run TypeScript
|
||||
run: yarn typescript | reviewdog -f=tsc -reporter=github-pr-review
|
||||
run: yarn typescript | reviewdog -f=tsc -reporter=github-pr-review -fail-on-error
|
||||
env:
|
||||
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
@ -63,3 +63,4 @@ jobs:
|
||||
with:
|
||||
reporter: github-pr-review
|
||||
eslint_flags: '--ext .js,.ts,.jsx,.tsx src'
|
||||
fail_on_error: true
|
||||
|
Loading…
Reference in New Issue
Block a user