summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Boerner <ich@felix-boerner.de>2024-01-10 08:52:20 +0100
committerFelix Boerner <ich@felix-boerner.de>2024-01-10 08:52:20 +0100
commit3fc557987dd3db72d40693e6f767c97512ca7bef (patch)
treeb5fca4c457daea25958a52ec77d7decd5938cb1f
parenta7388d44165e31444d054183b26d34dbf2b1d575 (diff)
ci: fix release problem
-rw-r--r--.github/workflows/release.yml4
-rw-r--r--.github/workflows/tests.yml2
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 @@ jobs:
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 @@ jobs:
- 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 \