Skip to content

Commit 16f438e

Browse files
committed
ci(workflows): [ci] use cspell-action
- https://github.com/streetsidesoftware/cspell-action/tree/v7.2.0 Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
1 parent 0ea3bcf commit 16f438e

File tree

1 file changed

+7
-14
lines changed

1 file changed

+7
-14
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
# - https://github.com/codecov/test-results-action
2525
# - https://github.com/flex-development/grease
2626
# - https://github.com/hmarr/debug-action
27+
# - https://github.com/streetsidesoftware/cspell-action
2728
# - https://yarnpkg.com/cli/pack
2829

2930
---
@@ -215,22 +216,14 @@ jobs:
215216
with:
216217
persist-credentials: false
217218
ref: ${{ env.REF }}
218-
- id: node
219-
name: Setup Node.js
220-
uses: actions/setup-node@v4.4.0
221-
with:
222-
cache: yarn
223-
cache-dependency-path: yarn.lock
224-
node-version-file: .nvmrc
225-
- id: cache
226-
name: Restore dependencies cache
227-
uses: actions/cache@v4.2.4
228-
with:
229-
key: ${{ needs.preflight.outputs.cache-key }}
230-
path: ${{ env.CACHE_PATH }}
231219
- id: spelling
232220
name: Check spelling
233-
run: yarn check:spelling
221+
uses: streetsidesoftware/cspell-action@v7.2.0
222+
with:
223+
config: .cspell.json
224+
inline: error
225+
treat_flagged_words_as_errors: true
226+
verbose: true
234227
typescript:
235228
needs:
236229
- commitlint

0 commit comments

Comments
 (0)