Skip to content

chore: add GH_TOKEN for semantic-release (#2) #7

chore: add GH_TOKEN for semantic-release (#2)

chore: add GH_TOKEN for semantic-release (#2) #7

Workflow file for this run

name: Release
on:
push:
branches: [main]
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: actions/setup-node@v2
with:
node-version: 18.17.1
- run: npm ci --ignore-scripts
- run: npm run release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}