mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-04-16 03:15:39 +00:00
Add link checker and GitHub Action
This commit is contained in:
2
.github/workflows/test-deploy.yml
vendored
2
.github/workflows/test-deploy.yml
vendored
@@ -18,5 +18,7 @@ jobs:
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn install --frozen-lockfile
|
||||
- name: Check links
|
||||
run: yarn run remark --use remark-validate-links --use remark-lint-no-dead-urls --frail ./docs
|
||||
- name: Test build website
|
||||
run: yarn build
|
||||
@@ -21,7 +21,10 @@
|
||||
"clsx": "^1.1.1",
|
||||
"prism-react-renderer": "^1.3.3",
|
||||
"react": "^17.0.2",
|
||||
"react-dom": "^17.0.2"
|
||||
"react-dom": "^17.0.2",
|
||||
"remark-cli": "^11.0.0",
|
||||
"remark-lint-no-dead-urls": "^1.1.0",
|
||||
"remark-validate-links": "^12.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@docusaurus/module-type-aliases": "^2.3.1"
|
||||
|
||||
Reference in New Issue
Block a user