Commit 23dfbdc6 by Tuomas Riihimäki

Add angular tests to maven build-lifecycle

1 parent 1cbc86e7
Pipeline #47 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"
},
......
......@@ -27,36 +27,33 @@
<executions>
<execution>
<!-- optional: you don't really need execution ids,
but it looks nice in your build log. -->
<id>install node and npm</id>
<goals>
<goal>install-node-and-npm</goal>
</goals>
<configuration>
<nodeVersion>${js.node.version}</nodeVersion>
<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>
<goal>npm</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<arguments>run build</arguments>
</configuration>
</execution>
<!-- optional: you don't really need execution ids,
but it looks nice in your build log. -->
<id>install node and npm</id>
<goals>
<goal>install-node-and-npm</goal>
</goals>
<configuration>
<nodeVersion>${js.node.version}</nodeVersion>
<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>
<goal>npm</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<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!