Skip to content

Commit 5779549

Browse files
committed
Run npm install in the react app before starting
1 parent 1c08909 commit 5779549

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

todomvc-acceptance-tests/pom.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,21 @@
108108
<artifactId>process-exec-maven-plugin</artifactId>
109109
<version>0.9</version>
110110
<executions>
111+
<execution>
112+
<id>npm-install</id>
113+
<phase>generate-resources</phase>
114+
<goals>
115+
<goal>start</goal>
116+
</goals>
117+
<configuration>
118+
<name>npm-install</name>
119+
<workingDir>${project.basedir}/../react-todomvc</workingDir>
120+
<arguments>
121+
<argument>npm</argument>
122+
<argument>install</argument>
123+
</arguments>
124+
</configuration>
125+
</execution>
111126
<execution>
112127
<id>start-app</id>
113128
<phase>pre-integration-test</phase>

0 commit comments

Comments
 (0)