Skip to content

Beautiful, AI-native markdown IDE and LLM wiki

ci(open-knowledge): add build to the bun run check gate (#1805)

Nick Gomezc12c2fdae981
diff --git a/knip.config.ts b/knip.config.ts
index 58556b66b..c8fc579ba 100644
--- a/knip.config.ts
+++ b/knip.config.ts
@@ -39,6 +39,7 @@ export default {
'scripts/compute-next-beta.mjs': ['files'],
'scripts/compute-next-beta.test.mjs': ['files'],
'scripts/check-license-fields.test.mjs': ['files'],
+ 'scripts/check-gate-catches-build-errors.test.mjs': ['files'],
'scripts/bun-install-ci.test.mjs': ['files'],
'scripts/promote-stable-token.test.mjs': ['files'],
'.github/scripts/cla-gate.test.mjs': ['files'],
diff --git a/package.json b/package.json
index c459fbace..7b042bf42 100644
--- a/package.json
+++ b/package.json
@@ -28,8 +28,8 @@
"lint:biome": "biome check packages docs *.json *.jsonc *.ts --error-on-warnings",
"lint:oxlint": "oxlint --max-warnings 0 .",
"format": "bun run lint:biome --write --unsafe",
- "check": "bun run lint && turbo run 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-instructions-drift.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 typecheck test test:dom test:integration test:conversion test:fidelity test:perf:regression:unit test:health:unit test:health test:e2e test:visual test:perf test:a11y --concurrency=100% --output-logs=errors-only",
+ "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-instructions-drift.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:fidelity 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",