Add link checker and GitHub Action

This commit is contained in:
Billy Tat
2023-05-18 14:22:11 -07:00
parent 07ac0dbad1
commit d6b1a4df01
3 changed files with 1081 additions and 11 deletions

View File

@@ -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

View File

@@ -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"

1085
yarn.lock

File diff suppressed because it is too large Load Diff