New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pnpm publish with provenance flag doesn't work #6607
Comments
seeing the same issue |
pnpm actually runs npm CLI for publish. So it is just passing through the |
It should just be whatever version is on the github actions. Assuming its not auto installed by the action, it would be whatever's included in node 20 |
Could be helpful to add this to your "publishConfig": {
"access": "public",
"provenance": true
}, |
I don't really know what the issue is. Nor can I really speak much to the issue as I stopped using the syntax as I preferred the https://github.com/bootstrap-vue-next/bootstrap-vue-next/blob/main/.github/workflows/release-main.yaml#L82 syntax |
It looks like argument handling is quite different for "recursive publish" case and the npm flag delegations are manually done only for limited set of flags: pnpm/releasing/plugin-commands-publishing/src/recursivePublish.ts Lines 92 to 101 in 4001982
When directly publishing pnpm/releasing/plugin-commands-publishing/src/publish.ts Lines 186 to 189 in 4001982
|
There's also a |
pnpm version: 8.6
Code to reproduce the issue:
My previous line was
pnpm publish --tag latest --filter @bootstrap-vue-next/nuxt --access=public --provenance
Expected behavior:
Publish with provenance
Actual behavior:
Did not
Additional information:
Github Action runner, ubuntu-latest , node 20
In order to fix the issue I had created this commit bootstrap-vue-next/bootstrap-vue-next@913cda8
The update worked.
The previous version that didn't worked was published at https://www.npmjs.com/package/bootstrap-vue-next/v/0.9.3 , with no provenance statement.
Today I published https://www.npmjs.com/package/bootstrap-vue-next/v/0.9.4 , with the above commit, and it worked.
The text was updated successfully, but these errors were encountered: