From dcca5589c27b1b4e804b5a4632e992c9ca2a7011 Mon Sep 17 00:00:00 2001 From: lamya-rey Date: Sun, 17 Jan 2021 22:11:55 +0100 Subject: [PATCH] :construction_worker: update config.yml --- .circleci/config.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index bc04d9d..3c2a370 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,13 +7,12 @@ jobs: - checkout - restore_cache: keys: - - yarn-packages-{{{ checksum "package.json" }}-{{ .Environment.CACHE_VERSION }} - - yarn-packages + - npm-v1-dependencies-{{ checksum "yarn.lock" }} - run: yarn global add node-gyp && yarn install - save_cache: paths: - - node_modules - key: yarn-packages-{{ checksum "package.json" }}-{{ .Environment.CACHE_VERSION }} + key: npm-v1-dependencies-{{ checksum "yarn.lock" }} + - node_modules test: docker: @@ -22,7 +21,7 @@ jobs: - checkout - restore_cache: keys: - - yarn-packages-{{ checksum "yarn.lock" }}-{{ .Environment.CACHE_VERSION }} + - npm-v1-dependencies-{{ checksum "yarn.lock" }} - run: name: run test command: | @@ -34,7 +33,7 @@ jobs: - checkout - restore_cache: keys: - - yarn-packages-{{ checksum "yarn.lock" }}-{{ .Environment.CACHE_VERSION }} + - npm-v1-dependencies-{{ checksum "yarn.lock" }} - run: | yarn build - run: