Skip to content
This repository was archived by the owner on Feb 12, 2026. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ jobs:
config-name: release-drafter.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Publish to npm when release is published
publish_to_npm:
name: Publish to npm
Expand All @@ -71,7 +70,7 @@ jobs:
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}

ref: ${{ github.event.repository.default_branch }}
- name: Set up Node.js for publishing
uses: actions/setup-node@v4
with:
Expand All @@ -98,8 +97,10 @@ jobs:

# Run standard-version to update package.json and CHANGELOG.md
npx standard-version --release-as $VERSION_WITHOUT_V --skip.tag
# Push changes back to the current branch

# Push changes back to the current branch
CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
echo "Current branch: $CURRENT_BRANCH"
git push origin $CURRENT_BRANCH

- name: Build project
Expand Down