Problem: pnpm publish check failing
Solution: - Reason for failure default git check - you should be on main or master. but we are on tag - detached from a branch but stick to a tag - a specific commit. - So this check is harmful. disable it but only in workflow.
This commit is contained in:
@@ -35,4 +35,4 @@ jobs:
|
|||||||
- name: Publish to NPM
|
- name: Publish to NPM
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
run: pnpm publish --access public --provenance
|
run: pnpm publish --access public --provenance --no-git-checks
|
||||||
Reference in New Issue
Block a user