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: