Commit 1d8ba3b
fix: strip _authToken from .npmrc for OIDC trusted publishing
setup-node with registry-url creates .npmrc with _authToken placeholder
that prevents npm from using OIDC authentication. Delete the auth token
entry before publish so npm falls through to the OIDC flow.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 988fda1 commit 1d8ba3b
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
38 | 44 | | |
39 | 45 | | |
40 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
41 | 49 | | |
42 | 50 | | |
43 | 51 | | |
| |||
0 commit comments