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
No related merge requests found
......@@ -41,6 +41,13 @@ lint:js:
- cd ${HOME}
- 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:
image: $IMAGE_ORG/$IMAGE_NAME:$CI_COMMIT_SHA
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