Skip to content

Commit 47b451d

Browse files
authored
fix: bypass detached Git HEAD state in 'publish' GitHub Action workflow (#224)
1 parent 9f600c1 commit 47b451d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ jobs:
3434
run: pnpm build
3535

3636
- name: Publish to NPM
37-
run: pnpm publish
37+
run: pnpm publish --no-git-checks
3838
env:
3939
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)