Skip to content

Commit c4c101b

Browse files
committed
chore: ci
1 parent 33ff563 commit c4c101b

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/test-component.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88

99
jobs:
1010
tdesign-vue:
11+
if: >
12+
github.event.workflow_run.event == 'pull_request' &&
13+
github.event.workflow_run.conclusion == 'success'
1114
runs-on: ubuntu-latest
1215
steps:
1316
- name: Checkout tdesign-vue
@@ -31,6 +34,9 @@ jobs:
3134
- run: npm run build
3235

3336
tdesign-vue-next:
37+
if: >
38+
github.event.workflow_run.event == 'pull_request' &&
39+
github.event.workflow_run.conclusion == 'success'
3440
runs-on: ubuntu-latest
3541
steps:
3642
- name: Checkout tdesign-vue-next
@@ -56,6 +62,9 @@ jobs:
5662
- run: pnpm run build
5763

5864
tdesign-react:
65+
if: >
66+
github.event.workflow_run.event == 'pull_request' &&
67+
github.event.workflow_run.conclusion == 'success'
5968
runs-on: ubuntu-latest
6069
steps:
6170
- name: Checkout tdesign-react
@@ -79,6 +88,9 @@ jobs:
7988
- run: npm run build
8089

8190
tdesign-web-components:
91+
if: >
92+
github.event.workflow_run.event == 'pull_request' &&
93+
github.event.workflow_run.conclusion == 'success'
8294
runs-on: ubuntu-latest
8395
steps:
8496
- name: Checkout tdesign-web-components
@@ -102,6 +114,9 @@ jobs:
102114
- run: npm run build
103115

104116
tdesign-mobile-vue:
117+
if: >
118+
github.event.workflow_run.event == 'pull_request' &&
119+
github.event.workflow_run.conclusion == 'success'
105120
runs-on: ubuntu-latest
106121
steps:
107122
- name: Checkout tdesign-mobile-vue
@@ -125,6 +140,9 @@ jobs:
125140
- run: npm run build
126141

127142
tdesign-mobile-react:
143+
if: >
144+
github.event.workflow_run.event == 'pull_request' &&
145+
github.event.workflow_run.conclusion == 'success'
128146
runs-on: ubuntu-latest
129147
steps:
130148
- name: Checkout tdesign-mobile-react

0 commit comments

Comments
 (0)