From da3ba541957948a0fcfaa78aee94a498a0a59ac7 Mon Sep 17 00:00:00 2001 From: ndrg13 <72130242+ndrg13@users.noreply.github.com> Date: Thu, 5 Nov 2020 16:47:57 +0100 Subject: [PATCH] Update config.yml --- .circleci/config.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d2d41da..3b18238 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,7 +15,7 @@ jobs: name: Install dependencies command: yarn global add node-gyp && yarn install - save_cache: - key: npm-v5-dependencies-{{ checksum "yarn.lock" }} + key: npm-v6-dependencies-{{ checksum "yarn.lock" }} paths: - ~/.cache/yarn5 lint: @@ -23,19 +23,15 @@ jobs: steps: - checkout - restore_cache: - key: npm-v5-dependencies-{{ checksum "yarn.lock" }} - - run: - name: Analyse code with tslint and format with prettier - command: yarn lint && yarn format:check + key: npm-v6-dependencies-{{ checksum "yarn.lock" }} + - run: yarn lint && yarn format:check test: executor: my-executor steps: - checkout - restore_cache: - keys: npm-v5-dependencies-{{ checksum "yarn.lock" }} - - run: - name: Run test with jest - command: yarn test:ci + key: npm-v6-dependencies-{{ checksum "yarn.lock" }} + - run: yarn test:ci workflows: version: 2 integration: