diff options
author | kumavis <aaron@kumavis.me> | 2018-03-10 05:04:53 +0800 |
---|---|---|
committer | kumavis <aaron@kumavis.me> | 2018-03-10 05:04:53 +0800 |
commit | 69345770fbe3bd111772e3f6f49635ad38fe5a5b (patch) | |
tree | 2aaf28fc6048efc60f165f58cd24bb7caf705dec /.circleci | |
parent | 8cf6db16f7b8c31d82ec06e18c9e47c0c6af1646 (diff) | |
download | tangerine-wallet-browser-69345770fbe3bd111772e3f6f49635ad38fe5a5b.tar.gz 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.yml | 6 |
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 |