Skip to content

Commit d00e91f

Browse files
authored
debug: add OIDC detection debug step (#27)
1 parent e995a42 commit d00e91f

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/release.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,22 @@ jobs:
428428
with:
429429
node-version: "18"
430430

431+
- name: Debug OIDC setup
432+
run: |
433+
echo "=== OIDC Debug Info ==="
434+
echo "npm version: $(npm --version)"
435+
echo "node version: $(node --version)"
436+
echo ""
437+
echo "=== Environment Variables ==="
438+
env | grep -i oidc || echo "No OIDC env vars found"
439+
env | grep -i token || echo "No TOKEN env vars found"
440+
echo ""
441+
echo "=== npm config ==="
442+
npm config list
443+
echo ""
444+
echo "=== npm whoami ==="
445+
npm whoami || echo "npm whoami failed - this is expected if OIDC not working"
446+
431447
- name: Publish to npm
432448
if: startsWith(github.ref, 'refs/tags/v')
433449
run: |

0 commit comments

Comments
 (0)