fix: 更新 CI 工作流,修改构建命令以确保类型定义文件存在

This commit is contained in:
严浩
2024-12-15 00:51:09 +08:00
parent efc52343f2
commit 0be091c32f

View File

@@ -10,7 +10,7 @@ jobs:
- uses: yanhao98/composite-actions/setup-node-environment@main
- name: 静态代码分析
run: pnpm run lint
# - run: npx vue-tsc --build --force
- run: pnpm run build-only # 先 build保证 components.d.ts 存在
- run: pnpm run type-check
- name: 修改 .npmrc