Compare commits
3
Commits
d8da598f1d
...
6077476254
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6077476254 | ||
|
|
b7d8c455d4 | ||
|
|
0234c5cbe6 |
@@ -32,13 +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 no external services (Redis/Postgres) — pure
|
||||
# module load + in-memory smoke test.
|
||||
# graph resolves. Requires Postgres + Redis — only runs when available.
|
||||
- name: MCP smoke test
|
||||
run: cd apps/mcp && bun run smoke
|
||||
if: env.DATABASE_URL != ''
|
||||
working-directory: apps/mcp
|
||||
env:
|
||||
DATABASE_URL: ${{ secrets.DATABASE_URL }}
|
||||
REDIS_URL: ${{ secrets.REDIS_URL }}
|
||||
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,
|
||||
@@ -52,7 +61,7 @@ jobs:
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: mcpedia-web-build
|
||||
path: apps/web/.next/
|
||||
path: apps/web/.next
|
||||
retention-days: 1
|
||||
|
||||
deploy:
|
||||
|
||||
Reference in new issue
Block a user