diff options
author | Felix Boerner <ich@felix-boerner.de> | 2024-01-10 08:52:20 +0100 |
---|---|---|
committer | Felix Boerner <ich@felix-boerner.de> | 2024-01-10 08:52:20 +0100 |
commit | 3fc557987dd3db72d40693e6f767c97512ca7bef (patch) | |
tree | b5fca4c457daea25958a52ec77d7decd5938cb1f | |
parent | a7388d44165e31444d054183b26d34dbf2b1d575 (diff) |
ci: fix release problem
-rw-r--r-- | .github/workflows/release.yml | 4 | ||||
-rw-r--r-- | .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 @@ 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 \ |