From 22c7670680ee3b4eb37c2f1437d339bcb8bb3f9d Mon Sep 17 00:00:00 2001 From: hallouma875 Date: Sat, 27 Mar 2021 14:40:09 +0100 Subject: [PATCH] :wrench: fix format check cmd --- .circleci/config.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3ad7a1f..5ac0c3c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -11,7 +11,10 @@ aliases: install_node_modules: &install_node_modules run: - command: yarn install && yarn format:check + command: yarn install + check-formatting: &check-formatting + steps: + - run: yarn format:check save_cache: &save_cache save_cache: key: yarn-cache-netlify-{{ checksum "yarn.lock" }} @@ -29,6 +32,7 @@ jobs: - <<: *restore_cache - <<: *install_node_modules - <<: *save_cache + - <<: *check-formatting - run: name: Test command: yarn run test