Skip to content

Commit

Permalink
fix: update semantic release GITHUB_TOKEN with PAT
Browse files Browse the repository at this point in the history
  • Loading branch information
gergold committed Oct 6, 2023
1 parent 77a1fb6 commit 2f63171
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false

- uses: pnpm/action-setup@v2
name: Install pnpm
name: install-pnpm
id: pnpm-install
with:
version: 8
Expand All @@ -24,7 +26,9 @@ jobs:

- run: pnpm install --frozen-lockfile
- run: pnpm run build
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: semantic-release
run: npx semantic-release --debug true --dry-run false
env:
GITHUB_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 2f63171

Please sign in to comment.