Skip to content

Commit 8d6329d

Browse files
committed
Add spell checker
1 parent 4e1d9fd commit 8d6329d

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

.github/workflows/spellcheck.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Spell Check
2+
3+
# Hat tip to SeanKilleen for this workflow
4+
# https://seankilleen.com/2021/01/adding-spell-checking-to-my-blogs-build-process-with-github-actions-and-cspell/
5+
6+
on: push
7+
8+
jobs:
9+
spellchecking:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
name: Check out the code
14+
- uses: actions/setup-node@v1
15+
name: Run spell check
16+
with:
17+
node-version: "12"
18+
- run: npm install -g cspell
19+
- run: cspell --config ./cSpell.json "**/*.md"

cSpell.json

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"version": "0.1",
3+
"language": "en",
4+
"words": [
5+
"transcoding"
6+
],
7+
"ignoreWords": [
8+
"weeknotes"
9+
],
10+
"ignoreRegExpList": []
11+
}

0 commit comments

Comments
 (0)