Commit 287400f3 authored by Jure's avatar Jure

ci: add validation of commits on branch

re #121
parent fffde8d8
Pipeline #4391 failed with stages
in 7 minutes and 53 seconds
......@@ -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
......
Markdown is supported
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