mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-22 13:13:03 +02:00
Move cspell to Actions (#35593)
* Move cspell to Actions * Remove the now unused `docs-spellcheck` npm script
This commit is contained in:
28
.github/workflows/cspell.yml
vendored
Normal file
28
.github/workflows/cspell.yml
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
name: cspell
|
||||
|
||||
on:
|
||||
push:
|
||||
branches-ignore:
|
||||
- "dependabot/**"
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
FORCE_COLOR: 2
|
||||
NODE: 16
|
||||
|
||||
jobs:
|
||||
cspell:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Clone repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Run cspell
|
||||
uses: streetsidesoftware/cspell-action@v1
|
||||
with:
|
||||
config: ".cspell.json"
|
||||
files: "**/*.md"
|
||||
inline: error
|
||||
incremental_files_only: false
|
Reference in New Issue
Block a user