Skip to content

ci: Consolidate build and test into single CI workflow#84

Merged
bensonwong merged 5 commits intomainfrom
0ab2-fix-ci-cd
Jan 23, 2026
Merged

ci: Consolidate build and test into single CI workflow#84
bensonwong merged 5 commits intomainfrom
0ab2-fix-ci-cd

Conversation

@bensonwong
Copy link
Copy Markdown
Collaborator

@bensonwong bensonwong commented Jan 23, 2026

Summary

Combines build and test steps into a single CI workflow, reducing runner usage and simplifying the pipeline.

Changes

  • Renamed .github/workflows/test.yml.github/workflows/ci.yml
  • Added bun run build step before running tests
  • Removed the separate build.yml workflow

Why

Running build and test in a single workflow:

  • Uses one runner instance instead of two
  • Shares setup steps (checkout, bun install)
  • Build runs first, so test failures are only reported if the build succeeds

1. **TypeScript error at line 314** - The build now passes successfully. The error you mentioned (`Type 'boolean | undefined' is not assignable to type 'boolean'`) appears to have been fixed in a previous commit.

2. **Created build workflow** - Added `.github/workflows/build.yml` that:
   - Runs on PR to main and push to main (same triggers as test.yml)
   - Uses the same Blacksmith runner
   - Installs dependencies with bun
   - Runs `bun run build`

The build workflow will now run alongside the test workflow to catch build failures in CI.
@bensonwong bensonwong changed the title fix CI CD (vibe-kanban) ci: Add build workflow to CI/CD pipeline Jan 23, 2026
- Renamed test.yml to ci.yml
- Added build step before tests
- Removed separate build.yml to avoid running two instances

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bensonwong bensonwong changed the title ci: Add build workflow to CI/CD pipeline ci: Consolidate build and test into single CI workflow Jan 23, 2026
bensonwong and others added 3 commits January 23, 2026 15:13
bun install doesn't properly handle Rollup's platform-specific optional
dependencies (@rollup/rollup-linux-x64-gnu), causing build failures.
Switch to npm install which handles these correctly.

Keep bun for running tests since it's faster for test execution.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The `hasLowTrustMatch` variable could be `boolean | undefined` when
`verification.searchAttempts` is undefined, causing TypeScript errors
when returning CitationStatus which requires all boolean fields.

Added `?? false` to ensure the value is always boolean.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bensonwong bensonwong merged commit 5be0d30 into main Jan 23, 2026
1 check passed
@bensonwong bensonwong deleted the 0ab2-fix-ci-cd branch January 23, 2026 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant