name: 🧪 CI on: push: branches: - main - master pull_request: branches: - main - master workflow_dispatch: concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true permissions: contents: read jobs: test-and-check: name: 🧪 Test, Type-Check & Build Validation runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 - name: Setup Bun uses: oven-sh/setup-bun@v2 with: bun-version: latest - name: Install dependencies run: bun install --frozen-lockfile - name: Type-check run: bun run check - name: Colocated Unit Tests run: bun test - name: Build OpenAPI & Validate Sync run: | bun run openapi:bundle git diff --exit-code dist/openapi.json || (echo "::error::dist/openapi.json is out of sync with openapi/openapi.yaml. Run 'bun run openapi:bundle' and commit changes." && exit 1) - name: Build MCP Plugin & Verify run: | bun run build:plugin - name: Verify Binary Compilation run: | mkdir -p dist/bin bun run build:binary