From 9b8ca9dc0765bb8ce8674b4d993bd4d8fba026bb Mon Sep 17 00:00:00 2001 From: pirhoo Date: Tue, 29 Sep 2026 17:16:08 +0000 Subject: [PATCH] chore(ci): create a GitHub release after publishing to npm --- .github/workflows/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 74b82b25..20bae253 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -95,3 +95,9 @@ jobs: - name: Publish to npm if: steps.bump.outputs.version != steps.bump.outputs.previous_version run: npm publish + + - name: Create GitHub release + if: steps.bump.outputs.version != steps.bump.outputs.previous_version + run: gh release create "v${{ steps.bump.outputs.version }}" --generate-notes + env: + GH_TOKEN: ${{ github.token }}