File tree 1 file changed +35
-0
lines changed
1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1
1
name : vNext CI
2
2
3
3
on :
4
+ merge_group :
4
5
push :
5
6
branches :
6
7
- v-next
@@ -108,6 +109,23 @@ jobs:
108
109
- name : Lint
109
110
run : pnpm lint
110
111
112
+ lint-aggregate :
113
+ needs : lint
114
+
115
+ if : ${{ !cancelled() }}
116
+
117
+ name : lint
118
+ runs-on : ubuntu-latest
119
+
120
+ steps :
121
+ - env :
122
+ result : ${{ needs.lint.result }}
123
+ run : |
124
+ if [[ "$result" == "failure" ]]; then
125
+ exit 1
126
+ fi
127
+ shell : bash
128
+
111
129
ci :
112
130
needs : list-packages
113
131
@@ -137,3 +155,20 @@ jobs:
137
155
run : pnpm build
138
156
- name : Run tests
139
157
run : pnpm run test
158
+
159
+ ci-aggregate :
160
+ needs : ci
161
+
162
+ if : ${{ !cancelled() }}
163
+
164
+ name : ci
165
+ runs-on : ubuntu-latest
166
+
167
+ steps :
168
+ - env :
169
+ result : ${{ needs.ci.result }}
170
+ run : |
171
+ if [[ "$result" == "failure" ]]; then
172
+ exit 1
173
+ fi
174
+ shell : bash
You can’t perform that action at this time.
0 commit comments