Skip to content

Commit 4104a22

Browse files
committed
Add debugging for npm authentication
1 parent 59bfa7f commit 4104a22

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/publish.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,13 @@ jobs:
8080
echo "should-publish=$SHOULD_PUBLISH" >> $GITHUB_OUTPUT
8181
echo "Should publish: $SHOULD_PUBLISH"
8282
83+
- name: Debug npm authentication
84+
if: steps.version-check.outputs.should-publish == 'true'
85+
run: |
86+
echo "Checking npm authentication..."
87+
npm whoami || echo "Not authenticated yet"
88+
echo "Registry: $(npm config get registry)"
89+
8390
- name: Publish to npm
8491
if: steps.version-check.outputs.should-publish == 'true'
8592
run: npm publish --access public --provenance

0 commit comments

Comments
 (0)