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