File tree Expand file tree Collapse file tree 3 files changed +125
-1
lines changed Expand file tree Collapse file tree 3 files changed +125
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Build
2+ on :
3+ pull_request_target :
4+ types :
5+ - opened
6+ - synchronize
7+ branches :
8+ - master
9+ push :
10+ branches :
11+ - master
12+
13+ env :
14+ HUSKY : ' 0'
15+
16+ concurrency :
17+ group : ${{ github.workflow }}-${{ github.event.pull_request.number }}
18+ cancel-in-progress : true
19+
20+ permissions :
21+ contents : read
22+
23+ jobs :
24+ post-update :
25+ runs-on : ${{ matrix.os }}
26+ strategy :
27+ matrix :
28+ os :
29+ - ubuntu-latest
30+ # - macos-latest
31+ - windows-latest
32+ steps :
33+ - name : Checkout code
34+ uses : actions/checkout@v4
35+ with :
36+ fetch-depth : 0
37+
38+ - name : Setup pnpm
39+ uses : pnpm/action-setup@v4
40+ with :
41+ version : 10
42+ run_install : true
43+
44+ - name : Setup Node.js
45+ uses : actions/setup-node@v4
46+ with :
47+ node-version : 22
48+ cache : pnpm
49+
50+ - name : Build
51+ run : |
52+ pnpm build:antd
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ pull_request :
5+ push :
6+ branches :
7+ - master
8+
9+ permissions :
10+ contents : read
11+
12+ jobs :
13+ lint :
14+ name : Lint
15+ runs-on : ${{ matrix.os }}
16+ strategy :
17+ matrix :
18+ os :
19+ - ubuntu-latest
20+ # - macos-latest
21+ - windows-latest
22+
23+ steps :
24+ - name : Checkout code
25+ uses : actions/checkout@v4
26+ with :
27+ fetch-depth : 0
28+
29+ - name : Setup pnpm
30+ uses : pnpm/action-setup@v4
31+ with :
32+ version : 10
33+ run_install : true
34+
35+ - name : Setup Node.js
36+ uses : actions/setup-node@v4
37+ with :
38+ node-version : 22
39+ cache : pnpm
40+
41+ - name : Lint
42+ run : pnpm run lint
43+
44+ check :
45+ name : Check
46+ runs-on : ${{ matrix.os }}
47+ timeout-minutes : 20
48+ strategy :
49+ matrix :
50+ os :
51+ - ubuntu-latest
52+ # - macos-latest
53+ - windows-latest
54+ steps :
55+ - name : Checkout code
56+ uses : actions/checkout@v4
57+ with :
58+ fetch-depth : 0
59+
60+ - name : Setup pnpm
61+ uses : pnpm/action-setup@v4
62+ with :
63+ version : 10
64+ run_install : true
65+
66+ - name : Setup Node.js
67+ uses : actions/setup-node@v4
68+ with :
69+ node-version : 22
70+ cache : pnpm
71+
72+ - name : Typecheck
73+ run : pnpm check:type
Original file line number Diff line number Diff line change @@ -53,7 +53,6 @@ vite.config.ts.*
5353# 升级 vben 时需要删除的文件
5454.vscode
5555.changeset
56- .github
5756backend-mock
5857web-ele
5958web-naive
You can’t perform that action at this time.
0 commit comments