aboutsummaryrefslogtreecommitdiffstats
path: root/.circleci
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-03-10 05:04:53 +0800
committerkumavis <aaron@kumavis.me>2018-03-10 05:04:53 +0800
commit69345770fbe3bd111772e3f6f49635ad38fe5a5b (patch)
tree2aaf28fc6048efc60f165f58cd24bb7caf705dec /.circleci
parent8cf6db16f7b8c31d82ec06e18c9e47c0c6af1646 (diff)
downloadtangerine-wallet-browser-69345770fbe3bd111772e3f6f49635ad38fe5a5b.tar
tangerine-wallet-browser-69345770fbe3bd111772e3f6f49635ad38fe5a5b.tar.gz
tangerine-wallet-browser-69345770fbe3bd111772e3f6f49635ad38fe5a5b.tar.bz2
tangerine-wallet-browser-69345770fbe3bd111772e3f6f49635ad38fe5a5b.tar.lz
tangerine-wallet-browser-69345770fbe3bd111772e3f6f49635ad38fe5a5b.tar.xz
tangerine-wallet-browser-69345770fbe3bd111772e3f6f49635ad38fe5a5b.tar.zst
tangerine-wallet-browser-69345770fbe3bd111772e3f6f49635ad38fe5a5b.zip
ci - restore node_modules before test
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index eca87ea5b..06506c680 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -19,12 +19,12 @@ jobs:
name: Update npm
command: 'sudo npm install -g npm@latest'
- restore_cache:
- key: dependency-cache-{{ checksum "package.json" }}
+ key: dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: Install npm
command: npm install
- save_cache:
- key: dependency-cache-{{ checksum "package.json" }}
+ key: dependency-cache-{{ checksum "package-lock.json" }}
paths:
- node_modules
test:
@@ -32,6 +32,8 @@ jobs:
- image: circleci/node:8-browsers
steps:
- checkout
+ - restore_cache:
+ key: dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: Test
command: npm test