From 4ca50b05cd95f83d7ef4731f81e3c15f5426f7ac Mon Sep 17 00:00:00 2001 From: finalerock44 Date: Fri, 4 Dec 2026 13:55:22 +0000 Subject: [PATCH] fix(release): publish the beta tarball by its ./ path --- .github/workflows/release-beta.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-beta.yml b/.github/workflows/release-beta.yml index afb17dc..71ee841 100644 --- a/.github/workflows/release-beta.yml +++ b/.github/workflows/release-beta.yml @@ -319,8 +319,11 @@ jobs: # `npm publish`, not `pnpm publish`: pnpm only learned the OIDC exchange in # v11 and this repo pins pnpm 10.17 in packageManager. No NODE_AUTH_TOKEN on # this step — its presence would take precedence over the OIDC token. + # + # The tarball path starts with ./ on purpose: npm reads `npm-pack/x.tgz` + # as the GitHub shorthand owner/repo and tries to clone it. - name: Publish to npm - run: npm publish npm-pack/*.tgz --tag beta + run: npm publish ./npm-pack/*.tgz --tag beta - name: Create the GitHub prerelease env: