feat: backport monorepo PRs #297, #302, #306 — floorplan thumbnails + mobile editor UI #12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: mcp-ci | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'packages/mcp/**' | |
| - 'packages/core/**' | |
| - 'apps/editor/app/api/scenes/**' | |
| - 'apps/editor/lib/scene-*' | |
| - 'apps/editor/package.json' | |
| - 'bun.lock' | |
| - '.github/workflows/mcp-ci.yml' | |
| pull_request: | |
| paths: | |
| - 'packages/mcp/**' | |
| - 'packages/core/**' | |
| - 'apps/editor/app/api/scenes/**' | |
| - 'apps/editor/lib/scene-*' | |
| - 'apps/editor/package.json' | |
| - 'bun.lock' | |
| - '.github/workflows/mcp-ci.yml' | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: 1.3.0 | |
| - name: Install | |
| run: bun install --frozen-lockfile | |
| - name: Build core | |
| run: bun run --cwd packages/core build | |
| - name: Build mcp | |
| run: bun run --cwd packages/mcp build | |
| - name: Test mcp | |
| run: bun test --cwd packages/mcp | |
| - name: Test editor scene API | |
| run: bun test apps/editor/lib/scene-store-server.test.ts apps/editor/lib/scene-api-security.test.ts | |
| - name: Biome check | |
| run: bunx biome check packages/mcp apps/editor/lib/scene-store-server.ts apps/editor/lib/scene-api-security.ts apps/editor/app/api/scenes |