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 d18eddd commit add3cbbCopy full SHA for add3cbb
1 file changed
.github/workflows/release.yml
@@ -94,11 +94,16 @@ jobs:
94
95
- name: Publish to npm
96
if: inputs.dry-run == false
97
- run: npm publish --provenance --access public
+ run: |
98
+ # Remove any auth token from .npmrc so npm uses OIDC Trusted Publishing
99
+ npm config delete //registry.npmjs.org/:_authToken || true
100
+ npm publish --provenance --access public
101
102
- name: Publish to npm (dry run)
103
if: inputs.dry-run == true
- run: npm publish --provenance --access public --dry-run
104
105
106
+ npm publish --provenance --access public --dry-run
107
108
- name: Create GitHub Release
109
0 commit comments