Skip to content

fix: 403 error from github in release workflow (#2) #2

fix: 403 error from github in release workflow (#2)

fix: 403 error from github in release workflow (#2) #2

Workflow file for this run

name: Release
on:
push:
branches:
- main
- beta
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout branch 🛎
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install pnpm 👨🏻‍💻
uses: pnpm/action-setup@v4
with:
version: 9
- name: Setup node env 🏗
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: 'pnpm'
- name: Install dependencies 👨🏻‍💻
run: pnpm install
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release