aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEylon Malin <eylon.malin@intl.att.com>2019-12-17 10:21:49 +0200
committerEylon Malin <eylon.malin@intl.att.com>2019-12-17 08:49:23 +0000
commit26c84f23f0db086bfb5ef71c72e49799a9d32cbc (patch)
tree05b89dd4d716b7bc8db5cb2d00d86e79ba7021d6
parent5f8ce4adff724009dad903887cd320a0095c1437 (diff)
default maven build of vid-webpack-master to run build and unit tests
Issue-ID: VID-729 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I244996542d9b9d8f92af4db325d22585f0327d0f
-rw-r--r--vid-webpack-master/package.json1
-rw-r--r--vid-webpack-master/pom.xml4
2 files changed, 4 insertions, 1 deletions
diff --git a/vid-webpack-master/package.json b/vid-webpack-master/package.json
index f2f913612..4f7b5e24d 100644
--- a/vid-webpack-master/package.json
+++ b/vid-webpack-master/package.json
@@ -8,6 +8,7 @@
"build": "ng build --no-progress --no-aot --output-hashing all",
"build.prod": "ng build",
"test": "jest",
+ "ci": "npm run test && npm run build",
"test:jest": "jest",
"test:jest:pipeline": "jest --silent --ci --reporters=default --reporters=jest-junit",
"test:jest:watch": "jest --watch",
diff --git a/vid-webpack-master/pom.xml b/vid-webpack-master/pom.xml
index 2fe0a6eaf..f84a485eb 100644
--- a/vid-webpack-master/pom.xml
+++ b/vid-webpack-master/pom.xml
@@ -28,7 +28,7 @@
<stagingNexusPath>content/repositories/staging/</stagingNexusPath>
<snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
<releaseNexusPath>content/repositories/releases/</releaseNexusPath>
- <NPM_CMD>build</NPM_CMD>
+ <NPM_CMD>ci</NPM_CMD>
</properties>
@@ -70,6 +70,7 @@
</distributionManagement>
<profiles>
+
<profile>
<id>if-not-webpack</id>
<activation>
@@ -107,6 +108,7 @@
</plugins>
</build>
</profile>
+
<profile>
<id>webpack-npm</id>
<activation>