From c937ccc92b9bf3ad3f09597b4c16452769daebbf Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Fri, 18 Jun 2021 10:25:17 +0200 Subject: [PATCH] :paperclip: Activate frontend and common linter on CI. --- .circleci/config.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index fc6f86d2e6..09e3e6a893 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -33,11 +33,20 @@ jobs: # fallback to using the latest cache if no exact match is found - v1-dependencies- - # run backend lint + - run: + name: common lint + working_directory: "./common" + command: "clj-kondo --parallel --lint src/" + + - run: + name: frontend lint + working_directory: "./frontend" + command: "clj-kondo --parallel --lint src/" + - run: name: backend lint working_directory: "./backend" - command: "clj-kondo --lint src/" + command: "clj-kondo --parallel --lint src/" # run backend test - run: @@ -62,11 +71,6 @@ jobs: JAVA_HOME: /usr/lib/jvm/openjdk16 PATH: /usr/local/nodejs/bin/:/usr/local/bin:/bin:/usr/bin:/usr/lib/jvm/openjdk16/bin - # - run: - # name: common lint - # working_directory: "./common" - # command: "clj-kondo --lint src/" - - run: working_directory: "./common" name: common tests