From 3fc557987dd3db72d40693e6f767c97512ca7bef Mon Sep 17 00:00:00 2001
From: Felix Boerner <ich@felix-boerner.de>
Date: Wed, 10 Jan 2024 07:52:20 +0000
Subject: [PATCH] ci: fix release problem

---
 .github/workflows/release.yml |    4 ++++
 .github/workflows/tests.yml   |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index ec511ac..4305b4b 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -45,6 +45,10 @@
         with:
           node-version: 'lts/*'
 
+      - name: Install semantic-release
+        run: |
+          npm install -g semantic-release conventional-changelog-conventionalcommits
+
       - name: Create Github release
         env:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index bc2079c..ea13836 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -29,7 +29,7 @@
       - name: Run commitlint
         if: github.event_name == 'pull_request'
         run: |
-          commitlint \
+          npx commitlint \
           --from "${{ github.event.pull_request.base.sha }}" \
           --to "${{ github.event.pull_request.head.sha }}" \
           --color \

--
Gitblit v1.10.0