0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-08 07:50:43 -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 # fallback to using the latest cache if no exact match is found
- v1-dependencies- - 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: - run:
name: backend lint name: backend lint
working_directory: "./backend" working_directory: "./backend"
command: "clj-kondo --lint src/" command: "clj-kondo --parallel --lint src/"
# run backend test # run backend test
- run: - run:
@ -62,11 +71,6 @@ jobs:
JAVA_HOME: /usr/lib/jvm/openjdk16 JAVA_HOME: /usr/lib/jvm/openjdk16
PATH: /usr/local/nodejs/bin/:/usr/local/bin:/bin:/usr/bin:/usr/lib/jvm/openjdk16/bin 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: - run:
working_directory: "./common" working_directory: "./common"
name: common tests name: common tests