Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: automatically add review comments to prettier infractions #2680

Merged
merged 9 commits into from
Oct 3, 2023
2 changes: 0 additions & 2 deletions .github/workflows/build-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ jobs:
node-version: 16
- name: Install Dependencies
run: npm ci
- name: Verify format
run: npm run format:check
- name: Build
run: npm run build
env:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/check-format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,9 @@ jobs:
with:
filter_mode: added
reporter: github-pr-review
- name: Verify format with Prettier
uses: EPMatt/reviewdog-action-prettier@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
fail_on_error: true