Skip to content

Commit

Permalink
Fix release workflow (#408)
Browse files Browse the repository at this point in the history
- Obtain required permission to create GH release
    - Ignore detached head for 'pnpm publish'
  • Loading branch information
paescuj authored Mar 28, 2023
1 parent 5115c43 commit 7c0e8cb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
tags:
- 'v*'

permissions:
contents: write

jobs:
gh-release:
name: Create GitHub Release
Expand Down Expand Up @@ -40,4 +43,4 @@ jobs:
- name: Publish to NPM
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: pnpm publish
run: pnpm publish --no-git-checks

0 comments on commit 7c0e8cb

Please sign in to comment.