summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Boerner <ich@felix-boerner.de>2024-01-10 07:08:19 +0100
committerFelix Börner <escalate@gmx.de>2024-01-10 08:20:26 +0100
commita7388d44165e31444d054183b26d34dbf2b1d575 (patch)
tree10dbeb21f75f08b7aec9d07ccf5dfbe05de2240d
parent0beb9dedc965068bef3b07f8b5f0682c3a2811b8 (diff)
test: fix commitlint test
-rw-r--r--.github/workflows/tests.yml2
-rw-r--r--.releaserc.yml2
-rw-r--r--commitlint.config.js3
3 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 9f03f80..bc2079c 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -12,6 +12,8 @@ jobs:
- name: Check out repository
if: github.event_name == 'pull_request'
uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
- name: Set up Node.js
if: github.event_name == 'pull_request'
diff --git a/.releaserc.yml b/.releaserc.yml
index 782afe1..b236832 100644
--- a/.releaserc.yml
+++ b/.releaserc.yml
@@ -1,4 +1,4 @@
-preset: angular
+preset: conventionalcommits
plugins:
- "@semantic-release/commit-analyzer"
- "@semantic-release/release-notes-generator"
diff --git a/commitlint.config.js b/commitlint.config.js
new file mode 100644
index 0000000..f3f3988
--- /dev/null
+++ b/commitlint.config.js
@@ -0,0 +1,3 @@
+module.exports = {
+ extends: ['@commitlint/config-conventional']
+}