From c7baa902a3acdd5c5c57db05e9a432716927708a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anthony=20Qu=C3=A9r=C3=A9?= <47711333+Anthony-Jhoiro@users.noreply.github.com> Date: Mon, 11 Oct 2021 10:42:27 +0200 Subject: [PATCH] Updated config.yml --- .circleci/config.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4772874..fd58562 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -31,7 +31,8 @@ jobs: - checkout - restore_cache: keys: - - npm-v1-lint-{{ checksum "src" }} + - npm-v1-dependencies-{{ checksum "yarn.lock" }} + - npm-v1-lint-{{ .BuildNum }} - run: name: Check files format command: yarn format:check @@ -53,9 +54,13 @@ jobs: password: $DOCKERHUB_PASSWORD steps: - checkout + - restore_cache: + keys: + - npm-v1-dependencies-{{ checksum "yarn.lock" }} + - npm-v1-lint-{{ .BuildNum }} - run: name: Unit Tests - command: yarn test:ci + command: yarn test workflows: build-workflow: