From c033607ecc2912b54a9f7f1ecbc8ad7c26f70eee Mon Sep 17 00:00:00 2001 From: ndrg13 <72130242+ndrg13@users.noreply.github.com> Date: Thu, 5 Nov 2020 17:33:41 +0100 Subject: [PATCH] Update config.yml --- .circleci/config.yml | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a4d6a26..a4ddfa6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -11,16 +11,12 @@ jobs: executor: my-executor steps: - checkout - - restore_cache: - name: Restore Yarn package cache - keys: - - npm-v4-dependencies-{{ checksum "yarn.lock" }} - run: name: Install dependencies command: yarn global add node-gyp && yarn install - save_cache: name: Save Yarn package cache - key: npm-v4-dependencies-{{ checksum "yarn.lock" }} + key: npm-v7-dependencies-{{ checksum "yarn.lock" }} paths: - ./node_modules lint: @@ -28,10 +24,9 @@ jobs: steps: - checkout - restore_cache: - name: Restore Yarn package cache - keys: - - npm-v4-dependencies-{{ checksum "yarn.lock" }} - - run: + name: Restore yarn package cache + key: npm-v7-dependencies-{{ checksum "yarn.lock" }} + - run: name: Analyse code with tslint and format with prettier command: yarn lint && yarn format:check test: @@ -39,10 +34,9 @@ jobs: steps: - checkout - restore_cache: - name: Restore Yarn package cache - keys: - - npm-v4-dependencies-{{ checksum "yarn.lock" }} - - run: + name: Restore yarn package cache + key: npm-v6-dependencies-{{ checksum "yarn.lock" }} + - run: name: Run test with jest command: yarn test:ci workflows: