chore: add debug step to list .next contents in CI

This commit is contained in:
asepharyana
2026-08-21 12:07:02 +07:00
parent 0234c5cbe6
commit b7d8c455d4
+8 -2
View File
@@ -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,