diff --git a/.github/workflows/docs-lint.yml b/.github/workflows/docs-lint.yml index 4e02e110..168ece40 100644 --- a/.github/workflows/docs-lint.yml +++ b/.github/workflows/docs-lint.yml @@ -23,5 +23,4 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 18 - - run: npm install --global spellchecker-cli - run: make docs-lint \ No newline at end of file diff --git a/Makefile b/Makefile index 859d5b34..b928cae0 100644 --- a/Makefile +++ b/Makefile @@ -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