From f85a21bcc5223a40b35d53baf5f5cde0a0db50b9 Mon Sep 17 00:00:00 2001 From: D4ryl00 Date: Fri, 18 Oct 2024 15:36:48 +0200 Subject: [PATCH] fix: semantic release Signed-off-by: D4ryl00 --- .github/workflows/release.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5aeb883..2be85a4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,13 +1,19 @@ name: Semantic Release - -on: push +on: + push: + branches: + - main jobs: semantic-release: runs-on: ubuntu-latest + timeout-minutes: 20 steps: - - uses: actions/checkout@master - - uses: codfish/semantic-release-action@v2 - if: github.ref == 'refs/heads/main' + - name: Checkout + uses: actions/checkout@v4 + + - name: Semantic Release + uses: cycjimmy/semantic-release-action@v4 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }}