diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fcaa223..cf5c545 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,16 +32,22 @@ jobs: run: bun run typecheck - name: Build web - run: cd apps/web && bun run build + working-directory: apps/web + run: bun run build + + - name: List .next contents + working-directory: apps/web + run: ls -la .next/ | head -10 # Smoke: verify the MCP server + resources load and the indexer/module # graph resolves. Requires Postgres + Redis — only runs when available. - name: MCP smoke test if: env.DATABASE_URL != '' + working-directory: apps/mcp env: DATABASE_URL: ${{ secrets.DATABASE_URL }} REDIS_URL: ${{ secrets.REDIS_URL }} - run: cd apps/mcp && bun run smoke + run: bun run smoke # Unit tests across all packages + apps. CI has no Postgres/Redis, so # tests use bun:test module mocking to stub @mcpedia/db, @mcpedia/queue,