From b7d8c455d4986d65c11e91d6ce738ea6d585c3a0 Mon Sep 17 00:00:00 2001 From: asepharyana Date: Fri, 21 Aug 2026 12:07:02 +0700 Subject: [PATCH] chore: add debug step to list .next contents in CI --- .github/workflows/ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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,