aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrunobar79 <brunobar79@gmail.com>2018-07-22 01:36:12 +0800
committerbrunobar79 <brunobar79@gmail.com>2018-07-22 01:36:12 +0800
commit54c93df3b8db87addef7d806a7abe7cb1b364bad (patch)
tree4f33b841f9556aa0fa9e62730a56465cdfc2d481
parentbec1eeaf680f99c5dd1fc6e5d871c9ae4312aa53 (diff)
downloadtangerine-wallet-browser-54c93df3b8db87addef7d806a7abe7cb1b364bad.tar.gz
tangerine-wallet-browser-54c93df3b8db87addef7d806a7abe7cb1b364bad.tar.zst
tangerine-wallet-browser-54c93df3b8db87addef7d806a7abe7cb1b364bad.zip
test npm ci
-rw-r--r--.circleci/config.yml14
1 files changed, 2 insertions, 12 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index d77b13d8c..9b46e7c91 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -108,22 +108,12 @@ jobs:
- run:
name: Install npm 6 + deps via npm
command: |
- sudo npm install -g npm@6.1.0 && npm install
- - run:
- name: Check status of package-lock.json
- command: |
- if git status | grep "package-lock.json" > /dev/null; then
- echo "Looks like the package-lock.json was modified after running npm i. See the diff below:"
- git diff package-lock.json | grep ""
- echo "---------------------------------------------------------------------"
- echo "Please make sure you run npm install (using node 8.11.3 + npm 6.1.0), then commit and push the latest changes in your package-lock.json"
- exit 1;
- fi
+ sudo npm install -g npm@6.1.0 && npm ci
- save_cache:
key: v1.0-dependency-cache-{{ checksum "package-lock.json" }}
paths:
- node_modules
-
+ - "$HOME/.npm"
prep-deps-firefox:
docker:
- image: circleci/node:8.11.3-browsers