Skip to content

Commit

Permalink
Call spellcheck from ci-test.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Ashutosh Srivastava <[email protected]>
  • Loading branch information
h4shk4t committed Mar 18, 2024
1 parent ffd95e2 commit 38b3f3c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ jobs:
sudo mv hugo /usr/local/bin
hugo version
- name: Spellcheck
run: |
make spellcheck
- name: Build
run: |
make build
6 changes: 5 additions & 1 deletion scripts/cspell/spellcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@ if ! sort -c project-words.txt; then
exit 1
fi
npm install cspell
npm run spellcheck
npm run spellcheck
if [ $? -ne 0 ]; then
echo "Misspelling(s) found."
exit 1
fi

0 comments on commit 38b3f3c

Please sign in to comment.