Skip to content

ci: fixing protected branch issue #5

ci: fixing protected branch issue

ci: fixing protected branch issue #5

Workflow file for this run

name: 🚀 Release
on:
push:
branches:
- main
- next
- beta
permissions:
contents: read
jobs:
release:
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
name: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
with:
persist-credentials: false
- uses: actions/setup-node@v4.0.0
with:
cache: npm
node-version: 18
- run: npm ci
- run: npm run build
- run: npx semantic-release@21.0.2
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}