feat: 更新 CI 工作流,添加构建项目的注释
Some checks failed
/ depcheck (push) Successful in 1m50s
/ build-and-deploy-to-vercel (push) Successful in 12m10s
/ playwright (push) Failing after 10m49s

This commit is contained in:
严浩
2025-01-05 23:03:31 +08:00
parent b638926537
commit 72a51b7fc7

View File

@ -14,7 +14,7 @@ jobs:
# cname-cn.vercel.com cname-china.vercel-dns.com
- name: 拉取 Vercel 环境信息
run: pnpm exec vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
- name: 构建项目
- name: 构建项目 # vite build
run: pnpm exec vercel build --target=production --token=${{ secrets.VERCEL_TOKEN }}
env:
VITE_BUILD_COMMIT: ${{ github.sha }}