diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml new file mode 100644 index 0000000..6e7d8e0 --- /dev/null +++ b/.github/workflows/spellcheck.yml @@ -0,0 +1,13 @@ +name: 'Check spelling' +on: # rebuild any PRs and main branch changes + pull_request: + push: + +jobs: + spellcheck: # run the action + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Install dictionaries + run: npm install @cspell/dict-nl-nl + - uses: streetsidesoftware/cspell-action@v2 diff --git a/cspell.config.yaml b/cspell.config.yaml index 49e4369..93e8a8f 100644 --- a/cspell.config.yaml +++ b/cspell.config.yaml @@ -6,3 +6,5 @@ ignorePaths: # Ignore License files that should not be touched - "LICENSE" - "LICENSES/*" +import: + - "@cspell/dict-nl-nl/cspell-ext.json"