Skip to content

Commit

Permalink
Update PR.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
as3810t authored Nov 3, 2024
1 parent 8e4a460 commit 30038f0
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,31 @@ jobs:
uses: reviewdog/action-eslint@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
level: warning
reporter: github-pr-check
fail_on_error: true
filter_mode: nofilter
prettier:
name: prettier
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: 'npm'
- name: Install dependencies
run: npm ci
- uses: EPMatt/reviewdog-action-prettier@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
level: warning
fail_on_error: true
filter_mode: nofilter
prettier_flags: "--check \"**/*.{js,sol,ts,json,jsx,tsx}\""

0 comments on commit 30038f0

Please sign in to comment.