Skip to content

Commit e7c5300

Browse files
authored
Update harper.yml
1 parent 4118ded commit e7c5300

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/harper.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@ jobs:
1616
- name: Install Harper CLI
1717
run: cargo install --git https://github.com/Automattic/harper harper-cli --locked
1818

19+
- name: Generate Harper spelling report
20+
run: |
21+
find docs src/pages -type f \( -name "*.md" -o -name "*.mdx" \) -print0 | \
22+
xargs -0 harper-cli lint \
23+
--user-dict-path ./.harper-dictionary.txt \
24+
--only Spelling::SpellCheck \
25+
--format compact || true
26+
1927
- name: Run Harper
2028
run: |
2129
find docs src/pages -type f \( -name "*.md" -o -name "*.mdx" \) -print0 | \

0 commit comments

Comments
 (0)