From a7388d44165e31444d054183b26d34dbf2b1d575 Mon Sep 17 00:00:00 2001
From: Felix Boerner <ich@felix-boerner.de>
Date: Wed, 10 Jan 2024 07:20:26 +0000
Subject: [PATCH] test: fix commitlint test
---
.github/workflows/tests.yml | 2 ++
commitlint.config.js | 3 +++
.releaserc.yml | 2 +-
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 @@
- 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']
+}
--
Gitblit v1.10.0