From e019e0a9659b697a2fb123a1826680bcf99fab3f Mon Sep 17 00:00:00 2001 From: Nico Rikken Date: Tue, 28 Mar 2023 07:38:35 +0200 Subject: [PATCH] feat: spellcheck Actions workflow GitHub Actions workflow for the CSpell spellcheck. Action from https://github.com/streetsidesoftware/cspell-action Additional dictionary has to be installed seperately upfront, as described in https://github.com/streetsidesoftware/cspell-action/issues/181 Signed-off-by: Nico Rikken --- .github/workflows/spellcheck.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/spellcheck.yml 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