Add C8 REST guidelines #6188
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
name: check-format | |
on: [pull_request] | |
jobs: | |
check-format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 16 | |
- name: Install Dependencies | |
run: npm ci | |
- name: Verify format with Vale | |
uses: errata-ai/vale-action@reviewdog | |
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 |