Skip to content
Snippets Groups Projects
Commit 287400f3 authored by Jure's avatar Jure
Browse files

ci: add validation of commits on branch

re #121
parent fffde8d8
No related branches found
No related tags found
1 merge request!71Conventional commits
Pipeline #4391 failed with stages
in 7 minutes and 53 seconds
...@@ -41,6 +41,13 @@ lint:js: ...@@ -41,6 +41,13 @@ lint:js:
- cd ${HOME} - cd ${HOME}
- npm run lint:js - npm run lint:js
lint:commits:
image: $IMAGE_ORG/$IMAGE_NAME:$CI_COMMIT_SHA
stage: test
script:
- cd ${HOME}
- yarn commitlint --from=master --to=$CI_COMMIT_REF_NAME
test: test:
image: $IMAGE_ORG/$IMAGE_NAME:$CI_COMMIT_SHA image: $IMAGE_ORG/$IMAGE_NAME:$CI_COMMIT_SHA
stage: test stage: test
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment