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'
|
||||||
|
Reference in New Issue
Block a user