From 1af6631cbf05e85b95123a4481cfde485b847475 Mon Sep 17 00:00:00 2001 From: Alexandre SOARES <72209227+AS-37@users.noreply.github.com> Date: Sat, 15 Jan 2022 16:36:04 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20Fix=20CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .circleci/config.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 550e3e7..51637f3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -42,17 +42,14 @@ jobs: command: yarn test:e2e environment: DATABASE_URL: postgres://$PG_USER:$PG_PASS@localhost:5432/$PG_DB - lint: + lint: <<: *shared-config - steps: + steps: - checkout - - restore_cache: - key: "npm-v1-dependencies-{{ checksum \"yarn.lock\" }}" - - run: - command: |- - yarn lint - yarn format:check - name: "step lint" + - restore_cache: + key: dependencies-{{ checksum "package.json" }}-v1 + - run: yarn lint + - run: yarn format:check heroku_deploy: docker: