mirror of
https://github.com/theoludwig/p61-project.git
synced 2024-07-17 07:00:12 +02:00
ci: execute only on merge requests and push on develop
This commit is contained in:
parent
37c724b89f
commit
f959f69de6
@ -6,6 +6,9 @@ stages:
|
|||||||
|
|
||||||
test:
|
test:
|
||||||
stage: "test"
|
stage: "test"
|
||||||
|
only:
|
||||||
|
- "merge_requests"
|
||||||
|
- "develop"
|
||||||
script:
|
script:
|
||||||
- "npm clean-install"
|
- "npm clean-install"
|
||||||
- 'echo "${CI_COMMIT_MESSAGE}" | npm run lint:commit'
|
- 'echo "${CI_COMMIT_MESSAGE}" | npm run lint:commit'
|
||||||
|
Loading…
Reference in New Issue
Block a user