fix: commitlint
parent
08675ee26e
commit
6ff35cd8ab
|
|
@ -120,3 +120,6 @@ fabric.properties
|
||||||
.idea/**/azureSettings.xml
|
.idea/**/azureSettings.xml
|
||||||
|
|
||||||
# End of https://www.toptal.com/developers/gitignore/api/intellij
|
# End of https://www.toptal.com/developers/gitignore/api/intellij
|
||||||
|
|
||||||
|
# Node
|
||||||
|
node_modules/
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ steps:
|
||||||
image: node:lts-slim
|
image: node:lts-slim
|
||||||
commands:
|
commands:
|
||||||
- npm install --save-dev conventional-changelog-conventionalcommits @commitlint/config-conventional commitlint@latest
|
- npm install --save-dev conventional-changelog-conventionalcommits @commitlint/config-conventional commitlint@latest
|
||||||
- echo "$CI_COMMIT_MESSAGE"x | npx commitlint
|
- echo "$CI_COMMIT_MESSAGE" | npx commitlint
|
||||||
when:
|
when:
|
||||||
- branch: [main, dev]
|
- branch: [main, dev]
|
||||||
event: push
|
event: push
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
module.exports = {extends: ['@commitlint/config-conventional']}
|
||||||
Loading…
Reference in New Issue