Skip to content

Beautiful, AI-native markdown IDE and LLM wiki

ci(open-knowledge): catch dead docs links in the required gate (#2146)

Andrew Mikofalvy8e47b2aba0ef
diff --git a/package.json b/package.json
index 5aa7ac5ee..23a96412b 100644
--- a/package.json
+++ b/package.json
@@ -21,6 +21,7 @@
"build:desktop:dir": "turbo run build:desktop:dir",
"check:desktop": "turbo run lint typecheck test --filter=@inkeep/open-knowledge-desktop",
"check:fast": "bun run typecheck",
+ "check:doc-links": "bun run --cwd docs validate-link",
"check:drift": "bash scripts/check-husky-prepare-guard.sh && bash scripts/check-knip-clean.sh && bash scripts/check-notices-clean.sh && bash scripts/check-schema-snapshot-clean.sh && bash scripts/check-i18n-drift.sh && bash scripts/check-no-major-changeset.sh && bun test scripts/",
"typecheck": "turbo run typecheck",
"test": "turbo run test",
@@ -29,7 +30,7 @@
"lint:oxlint": "oxlint --max-warnings 0 .",
"format": "bun run lint:biome --write --unsafe",
"check": "bun run lint && turbo run build typecheck test",
- "check:full:parallel": "bash scripts/check-husky-prepare-guard.sh && bash scripts/check-knip-clean.sh && bash scripts/check-notices-clean.sh && bash scripts/check-schema-snapshot-clean.sh && bash scripts/check-i18n-drift.sh && bash scripts/check-no-major-changeset.sh && bun run lint && bun test scripts/ && bun test --cwd .github/scripts && turbo run build typecheck test test:dom test:integration test:conversion test:perf:regression:unit test:health:unit test:health test:e2e test:visual test:perf test:a11y --concurrency=100% --output-logs=errors-only",
+ "check:full:parallel": "bash scripts/check-husky-prepare-guard.sh && bash scripts/check-knip-clean.sh && bash scripts/check-notices-clean.sh && bash scripts/check-schema-snapshot-clean.sh && bash scripts/check-i18n-drift.sh && bash scripts/check-no-major-changeset.sh && bun run lint && bun run check:doc-links && bun test scripts/ && bun test --cwd .github/scripts && turbo run build typecheck test test:dom test:integration test:conversion test:perf:regression:unit test:health:unit test:health test:e2e test:visual test:perf test:a11y --concurrency=100% --output-logs=errors-only",
"tier1": "bun run check",
"tier2": "bun run tier1 && turbo run test:perf:regression:unit test:health:unit test:health test:e2e",
"tier3": "STRESS_FIDELITY=1 bun run tier2",