From 42a3019970a782bb64ee0c843aae3548b736e0d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=A0=E7=9A=84=E7=94=A8=E6=88=B7=E5=90=8D?= <你的邮箱> Date: Sat, 8 Nov 2025 20:45:13 +0800 Subject: [PATCH] ci: run MCP deploy step only --- .gitea/workflows/deploy-mcp.yml | 41 --------------------------------- 1 file changed, 41 deletions(-) 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