From 74113d24a03b2c184c8b79b953d9920c81db53bd Mon Sep 17 00:00:00 2001 From: Divlo Date: Thu, 5 Jan 2023 21:18:49 +0100 Subject: [PATCH] chore: add commitlint --- .commitlintrc.json | 1 + .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .commitlintrc.json diff --git a/.commitlintrc.json b/.commitlintrc.json new file mode 100644 index 0000000..d3d7f0c --- /dev/null +++ b/.commitlintrc.json @@ -0,0 +1 @@ +{ "extends": ["@commitlint/config-conventional"] } diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8a47c2a..6bb7d3b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,7 +31,7 @@ jobs: node-version: 'lts/*' - name: 'Install Release Tools' - run: 'npm install --global semantic-release @semantic-release/git @semantic-release/exec @saithodev/semantic-release-backmerge' + run: 'npm install --global semantic-release @commitlint/config-conventional @semantic-release/git @semantic-release/exec @saithodev/semantic-release-backmerge' - name: 'Release' run: 'semantic-release'