From 1c63a668fa44c129546c25a3fdb7e660bbaa6298 Mon Sep 17 00:00:00 2001 From: ndrg13 <72130242+ndrg13@users.noreply.github.com> Date: Thu, 5 Nov 2020 16:40:47 +0100 Subject: [PATCH] Update config.yml --- .circleci/config.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9de01c4..a679067 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,18 +15,15 @@ jobs: name: Install dependencies command: yarn global add node-gyp && yarn install - save_cache: - name: Save Yarn package cache - key: npm-v3-dependencies-{{ checksum "yarn.lock" }} - paths: - - ~/.cache/yarn3 + key: npm-v5-dependencies-{{ checksum "yarn.lock" }} + path: + - ~/.cache/yarn5 lint: executor: my-executor steps: - checkout - restore_cache: - name: Restore Yarn package cache - keys: - - npm-v3-dependencies-{{ checksum "yarn.lock" }} + key: npm-v5-dependencies-{{ checksum "yarn.lock" }} - run: name: Analyse code with tslint and format with prettier command: yarn lint && yarn format:check @@ -35,9 +32,7 @@ jobs: steps: - checkout - restore_cache: - name: Restore Yarn package cache - keys: - - npm-v3-dependencies-{{ checksum "yarn.lock" }} + keys: npm-v5-dependencies-{{ checksum "yarn.lock" }} - run: name: Run test with jest command: yarn test:ci