fix: 在 Vercel 工作流中启用 Vue 生产环境开发工具
Some checks failed
/ build-and-deploy-to-vercel (push) Successful in 2m49s
/ lint-build-and-check (push) Successful in 4m35s
/ playwright (push) Failing after 3m56s
/ surge (push) Successful in 2m43s

This commit is contained in:
mini2024
2025-04-03 22:37:28 +08:00
parent ecd82d30a4
commit 5b28d93122

View File

@ -23,6 +23,7 @@ jobs:
run: pnpm dlx vercel build --target=production --token=${{ secrets.VERCEL_TOKEN }}
env:
VITE_BUILD_COMMIT: ${{ github.sha }}
__VUE_PROD_DEVTOOLS__: true
- name: 🧐 类型检查 # 要先 build保证 components.d.ts 存在
run: pnpm run type-check
- name: 🚀 部署到 Vercel