From f273bb5c5a3f0ab4731b2158d6b0a07792879df3 Mon Sep 17 00:00:00 2001 From: Anatole-DC Date: Thu, 13 Jan 2022 17:59:53 +0100 Subject: [PATCH] :construction_worker: Add Lint step Add lint and format check step in ci --- .circleci/config.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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