We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0548453 commit bea1c7fCopy full SHA for bea1c7f
1 file changed
.github/workflows/publish.yml
@@ -40,4 +40,8 @@ jobs:
40
- name: Publish
41
run: |
42
npm install -g npm@latest
43
+ # setup-node writes a dummy _authToken into this .npmrc; remove it so
44
+ # npm uses the OIDC-exchanged credential (not the fake token) for the
45
+ # registry write. --provenance forces npm to engage OIDC.
46
+ sed -i '/_authToken/d' "$NPM_CONFIG_USERCONFIG"
47
npm publish --access public --provenance
0 commit comments