mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-19 06:40:40 +00:00
Move cspell to Actions (#35593)
* Move cspell to Actions * Remove the now unused `docs-spellcheck` npm script
This commit is contained in:
parent
882185bbde
commit
e1020a43a5
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
|
1110
package-lock.json
generated
1110
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -57,9 +57,8 @@
|
||||
"docs": "npm-run-all docs-build docs-lint",
|
||||
"docs-build": "hugo --cleanDestinationDir",
|
||||
"docs-compile": "npm run docs-build",
|
||||
"docs-spellcheck": "cspell --no-progress",
|
||||
"docs-vnu": "node build/vnu-jar.js",
|
||||
"docs-lint": "npm-run-all --aggregate-output --parallel docs-vnu docs-spellcheck",
|
||||
"docs-lint": "npm run docs-vnu",
|
||||
"docs-serve": "hugo server --port 9001 --disableFastRender",
|
||||
"docs-serve-only": "npx sirv-cli _site --port 9001",
|
||||
"lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json",
|
||||
@ -111,7 +110,6 @@
|
||||
"bundlewatch": "^0.3.3",
|
||||
"clean-css-cli": "^5.5.0",
|
||||
"cross-env": "^7.0.3",
|
||||
"cspell": "^5.16.0",
|
||||
"eslint": "^8.7.0",
|
||||
"eslint-config-xo": "^0.39.0",
|
||||
"eslint-plugin-import": "^2.25.4",
|
||||
|
Loading…
x
Reference in New Issue
Block a user