Skip to content

Commit

Permalink
ci(review): add housekeeping action
Browse files Browse the repository at this point in the history
  • Loading branch information
vagnerclementino-hotmart committed Sep 8, 2024
1 parent 585bba8 commit bf1ce02
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/housekeeping.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
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"

0 comments on commit bf1ce02

Please sign in to comment.