Skip to content

5 add a linter formatter to github actions #4

5 add a linter formatter to github actions

5 add a linter formatter to github actions #4

Workflow file for this run

name: reviewdog
on: [pull_request]
jobs:
reviewdog:
name: reviewdog
runs-on: ubuntu-latest
steps:
- name: Check out source repository
uses: actions/checkout@v4
- name: Prettier Format
uses: EPMatt/reviewdog-action-prettier@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
level: warning
- name: ESLint Lint
uses: reviewdog/action-eslint@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
level: warning
reporter: github-pr-check