Add npm run lint
task with vale linter
#13
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: Vale linting | |
on: | |
pull_request: | |
jobs: | |
prose: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Vale | |
uses: errata-ai/vale-action@reviewdog | |
with: | |
version: 2.20.2 | |
files: docs/en | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |