From 0ab56b38b9d1f06cc6ebfb09666de3e9d03dc651 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Fri, 5 Jan 2024 13:43:38 +0100 Subject: [PATCH] :paperclip: Add fmt checker to the CI --- .circleci/config.yml | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f56bccd84..e1a6e629f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -31,10 +31,33 @@ jobs: - run: cat .cljfmt.edn - run: clj-kondo --version - # - run: - # name: "fmt check [clj]" - # command: | - # yarn run fmt:clj:check + - run: + name: "fmt check backend [clj]" + working_directory: "./backend" + command: | + yarn install + yarn run fmt:clj:check + + - run: + name: "fmt check exporter [clj]" + working_directory: "./exporter" + command: | + yarn install + yarn run fmt:clj:check + + - run: + name: "fmt check common [clj]" + working_directory: "./common" + command: | + yarn install + yarn run fmt:clj:check + + - run: + name: "fmt check frontend [clj]" + working_directory: "./frontend" + command: | + yarn install + yarn run fmt:clj:check - run: name: common lint