mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Move linkinator to GitHub Actions. (#35573)
* Move linkinator to GitHub Actions. * Remove `docs-linkinator` npm script since it's no longer used
This commit is contained in:
parent
eb2fda2110
commit
640542e606
3 changed files with 14 additions and 771 deletions
15
.github/workflows/docs.yml
vendored
15
.github/workflows/docs.yml
vendored
|
@ -30,5 +30,16 @@ jobs:
|
|||
- name: Install npm dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Test docs
|
||||
run: npm run docs
|
||||
- name: Build docs
|
||||
run: npm run docs-build
|
||||
|
||||
- name: Validate HTML
|
||||
run: npm run docs-vnu
|
||||
|
||||
- name: Run linkinator
|
||||
uses: JustinBeckwith/linkinator-action@v1
|
||||
with:
|
||||
paths: _site
|
||||
recurse: true
|
||||
verbosity: error
|
||||
skip: "^(?!http://localhost)"
|
||||
|
|
766
package-lock.json
generated
766
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -57,10 +57,9 @@
|
|||
"docs": "npm-run-all docs-build docs-lint",
|
||||
"docs-build": "hugo --cleanDestinationDir",
|
||||
"docs-compile": "npm run docs-build",
|
||||
"docs-linkinator": "linkinator _site --recurse --skip \"^(?!http://localhost)\" --verbosity error",
|
||||
"docs-spellcheck": "cspell --no-progress",
|
||||
"docs-vnu": "node build/vnu-jar.js",
|
||||
"docs-lint": "npm-run-all --aggregate-output --parallel docs-vnu docs-linkinator docs-spellcheck",
|
||||
"docs-lint": "npm-run-all --aggregate-output --parallel docs-vnu docs-spellcheck",
|
||||
"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",
|
||||
|
@ -132,7 +131,6 @@
|
|||
"karma-jasmine": "^4.0.1",
|
||||
"karma-jasmine-html-reporter": "^1.7.0",
|
||||
"karma-rollup-preprocessor": "^7.0.7",
|
||||
"linkinator": "^3.0.3",
|
||||
"lockfile-lint": "^4.6.2",
|
||||
"nodemon": "^2.0.15",
|
||||
"npm-run-all": "^4.1.5",
|
||||
|
|
Loading…
Add table
Reference in a new issue