From 04c62d486182c38ee55777a61cb72e81a6b28822 Mon Sep 17 00:00:00 2001 From: Sibuxiangx Date: Sun, 3 Aug 2025 17:19:11 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=E4=BF=AE=E5=A4=8D=20Action=20?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy-docs.yml | 38 ------------------------------- 1 file changed, 38 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 6be5ce9..4b3b198 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -23,41 +23,9 @@ concurrency: cancel-in-progress: true jobs: - # 验证和检查作业 - validate: - runs-on: ubuntu-latest - - steps: - - name: 检出代码 - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - - name: 设置Node.js - uses: actions/setup-node@v4 - with: - node-version: 22 - cache: 'pnpm' - - - name: 设置pnpm - uses: pnpm/action-setup@v2 - with: - version: 9 - - - name: 安装依赖 - run: pnpm install --frozen-lockfile - - - name: 验证OpenAPI规范 - run: pnpm swagger:validate - - - name: 检查Markdown文档 - run: pnpm lint:docs - continue-on-error: true - # 构建作业 build: runs-on: ubuntu-latest - needs: validate if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' steps: @@ -66,12 +34,6 @@ jobs: with: fetch-depth: 0 - - name: 设置Node.js - uses: actions/setup-node@v4 - with: - node-version: 20 - cache: 'pnpm' - - name: 设置pnpm uses: pnpm/action-setup@v2 with: