Skip to content

chore: update semantic-release workflow for clarity and organization #1067

chore: update semantic-release workflow for clarity and organization

chore: update semantic-release workflow for clarity and organization #1067

name: Release
on:
push:
branches:
- next
- v2
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- uses: cycjimmy/semantic-release-action@v4
with:
semantic_version: 24
branches: |
[
"next",
"v2"
]
extra_plugins: |
@semantic-release/changelog
@semantic-release/git
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}