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