diff --git a/.gitea/workflows/deploy-mcp.yml b/.gitea/workflows/deploy-mcp.yml index bd97c4ae..dcd85df4 100644 --- a/.gitea/workflows/deploy-mcp.yml +++ b/.gitea/workflows/deploy-mcp.yml @@ -15,49 +15,8 @@ env: MCP_PACKAGE: '@vben/finance-mcp-service' jobs: - build-mcp: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - - name: Setup Node.js - uses: actions/setup-node@v3 - with: - node-version: '20' - - - name: Setup pnpm - uses: pnpm/action-setup@v2 - with: - version: 9 - - - name: Get pnpm store directory - id: pnpm-cache - run: echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT - - - name: Setup pnpm cache - uses: actions/cache@v3 - with: - path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} - key: ${{ runner.os }}-mcp-pnpm-${{ hashFiles('pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-mcp-pnpm- - - - name: Install dependencies (MCP only) - run: pnpm install --filter ${MCP_PACKAGE}... --frozen-lockfile - - - name: Typecheck MCP service - run: pnpm --filter ${MCP_PACKAGE} typecheck - - - name: Build MCP service - run: pnpm --filter ${MCP_PACKAGE} build - deploy-mcp: runs-on: ubuntu-latest - needs: build-mcp steps: - name: Deploy MCP artifacts to server