fix: 更新 CI 工作流,修改构建命令以确保类型定义文件存在
This commit is contained in:
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@ -10,7 +10,7 @@ jobs:
|
|||||||
- uses: yanhao98/composite-actions/setup-node-environment@main
|
- uses: yanhao98/composite-actions/setup-node-environment@main
|
||||||
- name: 静态代码分析
|
- name: 静态代码分析
|
||||||
run: pnpm run lint
|
run: pnpm run lint
|
||||||
# - run: npx vue-tsc --build --force
|
- run: pnpm run build-only # 先 build,保证 components.d.ts 存在
|
||||||
- run: pnpm run type-check
|
- run: pnpm run type-check
|
||||||
|
|
||||||
- name: 修改 .npmrc
|
- name: 修改 .npmrc
|
||||||
|
Reference in New Issue
Block a user