0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-06 14:50:20 -05:00

📎 Activate frontend and common linter on CI.

This commit is contained in:
Andrey Antukh 2021-06-18 10:25:17 +02:00 committed by Andrés Moya
parent e796c3dfba
commit c937ccc92b

View file

@ -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