Commit b5ffbd0a by Tuomas Riihimäki

Add angular tests to maven build-lifecycle

1 parent 806c9c54
Pipeline #51 failed
in 0 seconds
......@@ -10,6 +10,7 @@
"aot": "ng build --aot",
"test": "ng test",
"lint": "ng lint",
"test-n-build": "ng lint && ng test && ng build",
"e2e": "ng e2e",
"version": "ng version"
},
......
......@@ -38,14 +38,12 @@
<npmVersion>${js.npm.version}</npmVersion>
</configuration>
</execution>
<execution>
<id>npm install</id>
<goals>
<goal>npm</goal>
</goals>
</execution>
<execution>
<id>npm run build</id>
<goals>
......@@ -53,10 +51,9 @@
</goals>
<phase>generate-resources</phase>
<configuration>
<arguments>run build</arguments>
<arguments>run test-n-build</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!