Add lint step to pipelines
This commit is contained in:
parent
80282fd629
commit
b6eafe2b4d
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue