From 3879a4c5ac2f58b862e5dc97431e9e70866b1856 Mon Sep 17 00:00:00 2001 From: Peter Maquiran Date: Thu, 8 Jul 2021 09:43:50 +0100 Subject: [PATCH] Improve bitbucket pipeline --- bitbucket-pipelines.yml | 2 +- package-lock.json | 5 +++++ package.json | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 39b65a9b2..3fdb490ef 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -13,6 +13,6 @@ pipelines: - wget -q -O /usr/bin/xvfb-chrome https://bitbucket.org/atlassian/docker-node-chrome-firefox/raw/ff180e2f16ea8639d4ca4a3abb0017ee23c2836c/scripts/xvfb-chrome - ln -sf /usr/bin/xvfb-chrome /usr/bin/google-chrome - chmod 755 /usr/bin/google-chrome - - npm install + - npm ci - ./node_modules/@angular/cli/bin/ng -v - npm run test \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index cda21774a..646fdb778 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5345,6 +5345,11 @@ } } }, + "ci": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ci/-/ci-2.1.1.tgz", + "integrity": "sha512-StBCU1G9zbhgVBqvslvOpT601zme9YfyZaUSjgXCtfnIynPuDBHX85WwnXv5cnh74bYo8S3xfPpI41yk1jZmRw==" + }, "ci-info": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", diff --git a/package.json b/package.json index 11875f507..cc5ca799b 100644 --- a/package.json +++ b/package.json @@ -55,6 +55,7 @@ "angular-calendar": "^0.28.22", "angular-tag-cloud-module": "^5.2.2", "bootstrap": "^4.5.0", + "ci": "^2.1.1", "cordova": "^10.0.0", "cordova-plugin-camera": "^5.0.1", "cordova-plugin-filepath": "^1.5.8",