-
Notifications
You must be signed in to change notification settings - Fork 22.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ci): Add Reviewdog for Prettier formatting
- Loading branch information
1 parent
b41327e
commit d9d4710
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: reviewdog / Prettier | ||
|
||
on: | ||
- pull_request | ||
|
||
jobs: | ||
prettier: | ||
name: runner / prettier | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: EPMatt/reviewdog-action-prettier@v1 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
# Change reviewdog reporter if you need | ||
# [github-pr-check,github-check,github-pr-review]. | ||
# More about reviewdog reporters at | ||
# https://github.com/reviewdog/reviewdog#reporters | ||
reporter: github-pr-review | ||
# Change reporter level if you need | ||
# [info,warning,error]. | ||
# More about reviewdog reporter level at | ||
# https://github.com/reviewdog/reviewdog#reporters | ||
level: warning |