@@ -1,6 +1,5 @@
|
||||
name: CI
|
||||
|
||||
# 仅分支推送触发:tag 推送交给 release.yml;solo 开发不走 PR,去掉 pull_request 避免同一提交双跑
|
||||
on:
|
||||
push:
|
||||
branches: ["**"]
|
||||
@@ -20,5 +19,7 @@ jobs:
|
||||
run: npx eslint .
|
||||
- name: 类型检查
|
||||
run: npm run typecheck
|
||||
- name: 单元测试
|
||||
run: npm run test
|
||||
- name: 构建
|
||||
run: npm run build
|
||||
|
||||
Reference in New Issue
Block a user