Skip to content

Commit 181ec99

Browse files
authored
Update harper.yml
1 parent ebb69ab commit 181ec99

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/harper.yml

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

19-
- name: Generate Harper compact report
19+
- name: Generate Harper JSON Report
2020
run: |
2121
find docs src/pages -type f \( -name "*.md" -o -name "*.mdx" \) -print0 | \
2222
xargs -0 harper-cli lint \
2323
--user-dict-path ./.harper-dictionary.txt \
24-
--format compact || true
24+
--format json \
25+
> harper-report.json || true
26+
27+
- name: Show Harper Report
28+
run: cat harper-report.json
2529

2630
- name: Run Harper
2731
run: |

0 commit comments

Comments
 (0)