Skip to content

Commit

Permalink
Add a mutex on Yarn to try to fix the Travis build corruptions
Browse files Browse the repository at this point in the history
  • Loading branch information
jdubois committed Sep 27, 2017
1 parent aebed46 commit 0447f95
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions generators/server/templates/_pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1299,6 +1299,15 @@
<version>${frontend-maven-plugin.version}</version>
<executions>
<%_ if (clientPackageManager === 'yarn') { _%>
<execution>
<id>yarn install</id>
<goals>
<goal>yarn</goal>
</goals>
<configuration>
<arguments>install --mutex file</arguments>
</configuration>
</execution>
<execution>
<id>install node and yarn</id>
<goals>
Expand Down

0 comments on commit 0447f95

Please sign in to comment.