From b638926537a066f394b4f9bc4a8399bdd5944d21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= <37316281+yanhao98@users.noreply.github.com> Date: Sun, 5 Jan 2025 23:02:24 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=20CI=20=E5=B7=A5?= =?UTF-8?q?=E4=BD=9C=E6=B5=81=EF=BC=8C=E8=B0=83=E6=95=B4=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E5=92=8C=E7=B1=BB=E5=9E=8B=E6=A3=80=E6=9F=A5=E9=A1=BA=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 518bc92..3fb1870 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -10,9 +10,6 @@ jobs: - uses: yanhao98/composite-actions/setup-node-environment@main - name: 静态代码分析 run: pnpm run lint - - run: pnpm run build-only # 先 build,保证 components.d.ts 存在 - - run: pnpm run type-check - # https://github.com/vercel/examples/tree/main/ci-cd/github-actions # cname-cn.vercel.com cname-china.vercel-dns.com - name: 拉取 Vercel 环境信息 @@ -21,6 +18,7 @@ jobs: run: pnpm exec vercel build --target=production --token=${{ secrets.VERCEL_TOKEN }} env: VITE_BUILD_COMMIT: ${{ github.sha }} + - run: pnpm run type-check # 要先 build,保证 components.d.ts 存在 - name: 部署到 Vercel run: pnpm exec vercel deploy --prebuilt --target=production --token=${{ secrets.VERCEL_TOKEN }}