ci(review): add housekeeping action #1
Workflow file for this run
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
on: | |
push: | |
branches: | |
- main # Modify if you use a different main branch name, such as the legacy "master" name. | |
pull_request: | |
branches: | |
- main # Modify if you use a different main branch name, such as the legacy "master" name. | |
jobs: | |
spellchecking: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
name: Check out the code | |
- uses: actions/setup-node@v1 | |
name: Run spell check | |
with: | |
node-version: "18" | |
- run: npm install -g cspell | |
- run: npm install -g @cspell/dict-pt-br | |
- run: cspell link add @cspell/dict-pt-br | |
- run: cspell --config ./cSpell.json "**/*.md" | |
- run: cspell --config ./cSpell.json "**/*.mdx" |