diff --git a/.circleci/config.yml b/.circleci/config.yml index 5f4ca0d..cfaa14c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -16,8 +16,20 @@ jobs: - node_modules key: dependencies-{{ checksum "package.json" }}-v1 + lint: + <<: *shared-config + steps: + - checkout + - restore_cache: + key: dependencies-{{ checksum "package.json" }}-v2 + - run: yarn lint + - run: yarn format:check + workflows: version: 2 build-test-and-lint: jobs: - - build \ No newline at end of file + - build + - lint: + requires : + - build \ No newline at end of file