Skip to content

Commit eba0d21

Browse files
committed
build: 跳过前端构建以加速单元测试 - 在npm install和npm run build中添加phase=none - 允许单独运行单元测试而不构建前端
1 parent cfd2d85 commit eba0d21

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@
180180
<configuration>
181181
<arguments>ci</arguments>
182182
</configuration>
183+
<phase>none</phase>
183184
</execution>
184185
<!-- 构建前端 -->
185186
<execution>
@@ -190,6 +191,7 @@
190191
<configuration>
191192
<arguments>run build</arguments>
192193
</configuration>
194+
<phase>none</phase>
193195
</execution>
194196
</executions>
195197
</plugin>

0 commit comments

Comments
 (0)