From 104f705de73c23a634389e11b8dd7369774c011a Mon Sep 17 00:00:00 2001 From: Mira Date: Wed, 9 Sep 2026 19:16:37 +0300 Subject: [PATCH] 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. --- .github/workflows/publish-to-npm.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-to-npm.yaml b/.github/workflows/publish-to-npm.yaml index 8661a2b..ecfc9a3 100644 --- a/.github/workflows/publish-to-npm.yaml +++ b/.github/workflows/publish-to-npm.yaml @@ -35,4 +35,4 @@ jobs: - name: Publish to NPM env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - run: pnpm publish --access public --provenance \ No newline at end of file + run: pnpm publish --access public --provenance --no-git-checks \ No newline at end of file