chore: add debug step to list .next contents in CI
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user