Skip to content

Commit

Permalink
add spell check in CI on PR
Browse files Browse the repository at this point in the history
  • Loading branch information
CJ42 committed Jul 12, 2023
1 parent a85771d commit 31cf743
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This workflow checks for common grammar and spelling mistake in markdown docs files.
name: Spellcheck
on: workflow_dispatch

jobs:
build:
name: Spellcheck
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Install ⚙️
run: yarn install --frozen-lockfile

- name: Spellcheck 📝
uses: rojopolis/[email protected]
with:
source_files: docs/**/*.md docs/**/*.mdx
task_name: Markdown
output_file: spellcheck-output.txt

- name: Output Spellcheck Results 📝
uses: actions/upload-artifact@v3
with:
name: Spellcheck Output
path: spellcheck-output.txt

0 comments on commit 31cf743

Please sign in to comment.