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

This commit is contained in:
asepharyana committed 2026-08-21 12:07:02 +07:00
1 parent 0234c5cbe6
commit b7d8c455d4
1 file changed
+8 -2
+8 -2
View File
@@ -32,16 +32,22 @@ jobs:
run: bun run typecheck run: bun run typecheck
- name: Build web - 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 # Smoke: verify the MCP server + resources load and the indexer/module
# graph resolves. Requires Postgres + Redis — only runs when available. # graph resolves. Requires Postgres + Redis — only runs when available.
- name: MCP smoke test - name: MCP smoke test
if: env.DATABASE_URL != '' if: env.DATABASE_URL != ''
working-directory: apps/mcp
env: env:
DATABASE_URL: ${{ secrets.DATABASE_URL }} DATABASE_URL: ${{ secrets.DATABASE_URL }}
REDIS_URL: ${{ secrets.REDIS_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 # Unit tests across all packages + apps. CI has no Postgres/Redis, so
# tests use bun:test module mocking to stub @mcpedia/db, @mcpedia/queue, # tests use bun:test module mocking to stub @mcpedia/db, @mcpedia/queue,