fix(docs): npx spellcheker, use node glob

This commit is contained in:
Tisham Dhar
2023-08-25 16:22:37 +02:00
committed by Dario Tranchitella
parent d096a25d66
commit 444a2f15cb
2 changed files with 2 additions and 2 deletions
-1
View File
@@ -23,5 +23,4 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm install --global spellchecker-cli
- run: make docs-lint
+2 -1
View File
@@ -276,6 +276,7 @@ e2e-exec: ginkgo
e2e-destroy:
kind delete cluster --name capsule
SPELL_CHECKER = npx spellchecker-cli
docs-lint:
cd docs/content && spellchecker *.md */*.md -d dictionary.txt
cd docs/content && $(SPELL_CHECKER) -f "*.md" "*/*.md" -d dictionary.txt