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: