Merge pull request #31 from CesiumGS/maka/update-readme #133
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: Build Workspace | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| jobs: | |
| cesium_js_build: | |
| runs-on: ubuntu-latest | |
| name: Build CesiumJS MCP Servers | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9 | |
| - name: Setup Node.js 22.x | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22.x | |
| cache: 'pnpm' | |
| cache-dependency-path: './mcp/cesium-js/pnpm-lock.yaml' | |
| - name: Install dependencies | |
| working-directory: ./mcp/cesium-js | |
| run: pnpm install --frozen-lockfile | |
| - name: Lint & Prettier check | |
| working-directory: ./mcp/cesium-js | |
| run: pnpm run check | |
| - name: Build mcp servers | |
| working-directory: ./mcp/cesium-js | |
| run: pnpm run build | |
| - name: Run tests | |
| working-directory: ./mcp/cesium-js | |
| run: pnpm test | |
| mcp_apps_build: | |
| runs-on: ubuntu-latest | |
| name: Build MCP Apps Servers | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9 | |
| - name: Setup Node.js 20.x | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20.x | |
| cache: 'pnpm' | |
| cache-dependency-path: './mcp/mcp-apps/pnpm-lock.yaml' | |
| - name: Install dependencies | |
| working-directory: ./mcp/mcp-apps | |
| run: pnpm install --frozen-lockfile | |
| - name: Lint & Prettier check | |
| working-directory: ./mcp/mcp-apps | |
| run: pnpm run check | |
| - name: Build mcp servers | |
| working-directory: ./mcp/mcp-apps | |
| run: pnpm run build | |
| geolocation_server_build: | |
| runs-on: ubuntu-latest | |
| name: Build Geolocation MCP Server | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9 | |
| - name: Setup Node.js 20.x | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20.x | |
| cache: 'pnpm' | |
| cache-dependency-path: './mcp/geolocation-server/pnpm-lock.yaml' | |
| - name: Install dependencies | |
| working-directory: ./mcp/geolocation-server | |
| run: pnpm install --frozen-lockfile | |
| - name: Lint & Prettier check | |
| working-directory: ./mcp/geolocation-server | |
| run: pnpm run check | |
| - name: Build mcp server | |
| working-directory: ./mcp/geolocation-server | |
| run: pnpm run build |