aboutsummaryrefslogtreecommitdiffstats
path: root/.circleci
diff options
context:
space:
mode:
authorBruno Barbieri <bruno.barbieri@consensys.net>2018-07-06 12:14:33 +0800
committerGitHub <noreply@github.com>2018-07-06 12:14:33 +0800
commit1387f1c8c21adfa99e336290f040bb1d65f28fd2 (patch)
tree3aba4891bf99105b238b64826e95d00eb49ef3c1 /.circleci
parent816b3a9d111c535fa60a0364e3d6f1c5c43bbb16 (diff)
downloadtangerine-wallet-browser-1387f1c8c21adfa99e336290f040bb1d65f28fd2.tar
tangerine-wallet-browser-1387f1c8c21adfa99e336290f040bb1d65f28fd2.tar.gz
tangerine-wallet-browser-1387f1c8c21adfa99e336290f040bb1d65f28fd2.tar.bz2
tangerine-wallet-browser-1387f1c8c21adfa99e336290f040bb1d65f28fd2.tar.lz
tangerine-wallet-browser-1387f1c8c21adfa99e336290f040bb1d65f28fd2.tar.xz
tangerine-wallet-browser-1387f1c8c21adfa99e336290f040bb1d65f28fd2.tar.zst
tangerine-wallet-browser-1387f1c8c21adfa99e336290f040bb1d65f28fd2.zip
Another update
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml45
1 files changed, 22 insertions, 23 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 9b4c7597b..891c9715e 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -103,16 +103,15 @@ jobs:
- restore_cache:
key: dependency-cache-{{ checksum "package-lock.json" }}
- run:
+ name: Install npm 6
+ command: npm install -g npm@6
+ - run:
name: Install deps via npm
command: npm install
- save_cache:
- key: dependency-cache-{{ checksum "package-lock.json" }}
- paths:
- - node_modules
- - save_cache:
- key: dependency-cache-{{ .Revision }}
+ key: dependency-cache-{{ checksum "package.json" }}
paths:
- - node_modules
+ - ./node_modules
prep-deps-firefox:
docker:
@@ -133,7 +132,7 @@ jobs:
steps:
- checkout
- restore_cache:
- key: dependency-cache-{{ .Revision }}
+ key: dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: build:dist
command: npm run dist
@@ -152,7 +151,7 @@ jobs:
steps:
- checkout
- restore_cache:
- key: dependency-cache-{{ .Revision }}
+ key: dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: build:dist
command: npm run doc
@@ -167,7 +166,7 @@ jobs:
steps:
- checkout
- restore_cache:
- key: dependency-cache-{{ .Revision }}
+ key: dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: Get Scss Cache key
# this allows us to checksum against a whole directory
@@ -186,7 +185,7 @@ jobs:
steps:
- checkout
- restore_cache:
- key: dependency-cache-{{ .Revision }}
+ key: dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: Test
command: npm run lint
@@ -197,7 +196,7 @@ jobs:
steps:
- checkout
- restore_cache:
- key: dependency-cache-{{ .Revision }}
+ key: dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: Test
command: npx nsp check
@@ -208,7 +207,7 @@ jobs:
steps:
- checkout
- restore_cache:
- key: dependency-cache-{{ .Revision }}
+ key: dependency-cache-{{ checksum "package-lock.json" }}
- restore_cache:
key: build-cache-{{ .Revision }}
- run:
@@ -229,7 +228,7 @@ jobs:
name: Install firefox
command: ./.circleci/scripts/firefox-install.sh
- restore_cache:
- key: dependency-cache-{{ .Revision }}
+ key: dependency-cache-{{ checksum "package-lock.json" }}
- restore_cache:
key: build-cache-{{ .Revision }}
- run:
@@ -245,7 +244,7 @@ jobs:
steps:
- checkout
- restore_cache:
- key: dependency-cache-{{ .Revision }}
+ key: dependency-cache-{{ checksum "package-lock.json" }}
- restore_cache:
key: build-cache-{{ .Revision }}
- run:
@@ -266,7 +265,7 @@ jobs:
name: Install firefox
command: ./.circleci/scripts/firefox-install.sh
- restore_cache:
- key: dependency-cache-{{ .Revision }}
+ key: dependency-cache-{{ checksum "package-lock.json" }}
- restore_cache:
key: build-cache-{{ .Revision }}
- run:
@@ -282,7 +281,7 @@ jobs:
steps:
- checkout
- restore_cache:
- key: dependency-cache-{{ .Revision }}
+ key: dependency-cache-{{ checksum "package-lock.json" }}
- restore_cache:
key: build-cache-{{ .Revision }}
- run:
@@ -299,7 +298,7 @@ jobs:
steps:
- checkout
- restore_cache:
- key: dependency-cache-{{ .Revision }}
+ key: dependency-cache-{{ checksum "package-lock.json" }}
- restore_cache:
key: build-cache-{{ .Revision }}
- restore_cache:
@@ -326,7 +325,7 @@ jobs:
steps:
- checkout
- restore_cache:
- key: dependency-cache-{{ .Revision }}
+ key: dependency-cache-{{ checksum "package-lock.json" }}
- restore_cache:
key: build-cache-{{ .Revision }}
- restore_cache:
@@ -349,7 +348,7 @@ jobs:
steps:
- checkout
- restore_cache:
- key: dependency-cache-{{ .Revision }}
+ key: dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: test:coverage
command: npm run test:coverage
@@ -367,7 +366,7 @@ jobs:
name: Install firefox
command: ./.circleci/scripts/firefox-install.sh
- restore_cache:
- key: dependency-cache-{{ .Revision }}
+ key: dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: Get Scss Cache key
# this allows us to checksum against a whole directory
@@ -386,7 +385,7 @@ jobs:
steps:
- checkout
- restore_cache:
- key: dependency-cache-{{ .Revision }}
+ key: dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: Get Scss Cache key
# this allows us to checksum against a whole directory
@@ -410,7 +409,7 @@ jobs:
name: Install firefox
command: ./.circleci/scripts/firefox-install.sh
- restore_cache:
- key: dependency-cache-{{ .Revision }}
+ key: dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: Get Scss Cache key
# this allows us to checksum against a whole directory
@@ -429,7 +428,7 @@ jobs:
steps:
- checkout
- restore_cache:
- key: dependency-cache-{{ .Revision }}
+ key: dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: Get Scss Cache key
# this allows us to checksum against a whole directory