From b6eafe2b4dbda383b3c70bf71e2e70a93a9f364c Mon Sep 17 00:00:00 2001 From: Ramon Wenger Date: Thu, 4 Jun 2020 12:58:44 +0200 Subject: [PATCH] Add lint step to pipelines --- bitbucket-pipelines.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 28bece5d..5bf7ba01 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -18,6 +18,10 @@ definitions: POSTGRES_HOST_AUTH_METHOD: trust aliases: +- &lint + name: lint + script: + - npm run lint --prefix client - &unittest-python name: run python unit tests caches: @@ -78,6 +82,7 @@ aliases: pipelines: default: + - step: *lint - step: *unittest-python - step: *cypress-test - step: *jest-test @@ -91,6 +96,7 @@ pipelines: - step: *deploy-prod-manual develop: + - step: *lint - step: *unittest-python - step: *cypress-test - step: *jest-test