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/[email protected]
with:
persist-credentials: false
- uses: actions/[email protected]
with:
cache: npm
node-version: 18
- run: npm ci
- run: npm run build
- run: npx [email protected]
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}