Skip to content

Commit b3fcdd9

Browse files
Add spellcheck
1 parent 3106272 commit b3fcdd9

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/spell-check.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Spell Check
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [master]
7+
8+
jobs:
9+
markdown-spellcheck:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout Repository
13+
uses: actions/checkout@v3
14+
15+
- name: Setup Node.js
16+
uses: actions/setup-node@v3
17+
with:
18+
node-version: '16'
19+
20+
- name: Install markdown-spellcheck
21+
run: npm install -g markdown-spellcheck
22+
23+
- name: Run markdown-spellcheck on Markdown files
24+
run: npx markdown-spellcheck --language en-US "**/*.md"

0 commit comments

Comments
 (0)