Skip to content

Commit 1036772

Browse files
committed
Debug: Add npm config debugging to publish workflow
1 parent 34ce399 commit 1036772

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,11 @@ jobs:
4949
run: |
5050
npm version "${{ steps.release_version.outputs.version }}" --no-git-tag-version
5151
52+
- name: Debug npm config
53+
run: |
54+
npm config list
55+
echo "---"
56+
cat ~/.npmrc 2>/dev/null || echo "No ~/.npmrc found"
57+
5258
- name: Publish to npm (Trusted Publishing)
5359
run: npm publish --access public --provenance

.npmrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@willwade:registry=https://registry.npmjs.org/
2+
//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}
3+

0 commit comments

Comments
 (0)