Add lint step to pipelines

This commit is contained in:
Ramon Wenger 2020-06-04 12:58:44 +02:00
parent 80282fd629
commit b6eafe2b4d
1 changed files with 6 additions and 0 deletions

View File

@ -18,6 +18,10 @@ definitions:
POSTGRES_HOST_AUTH_METHOD: trust POSTGRES_HOST_AUTH_METHOD: trust
aliases: aliases:
- &lint
name: lint
script:
- npm run lint --prefix client
- &unittest-python - &unittest-python
name: run python unit tests name: run python unit tests
caches: caches:
@ -78,6 +82,7 @@ aliases:
pipelines: pipelines:
default: default:
- step: *lint
- step: *unittest-python - step: *unittest-python
- step: *cypress-test - step: *cypress-test
- step: *jest-test - step: *jest-test
@ -91,6 +96,7 @@ pipelines:
- step: *deploy-prod-manual - step: *deploy-prod-manual
develop: develop:
- step: *lint
- step: *unittest-python - step: *unittest-python
- step: *cypress-test - step: *cypress-test
- step: *jest-test - step: *jest-test