fix: commitlint

pull/1/head
Richard Attermeyer 2023-11-05 21:09:23 +01:00
parent 08675ee26e
commit 6ff35cd8ab
3 changed files with 5 additions and 1 deletions

3
.gitignore vendored
View File

@ -120,3 +120,6 @@ fabric.properties
.idea/**/azureSettings.xml
# End of https://www.toptal.com/developers/gitignore/api/intellij
# Node
node_modules/

View File

@ -23,7 +23,7 @@ steps:
image: node:lts-slim
commands:
- 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:
- branch: [main, dev]
event: push

1
commitlint.config.js Normal file
View File

@ -0,0 +1 @@
module.exports = {extends: ['@commitlint/config-conventional']}