Skip to content
Merged

pb #22

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,16 @@ jobs:

- name: Setup .npmrc with authentication
run: |
cat << EOF > ~/.npmrc
//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}
registry=https://registry.npmjs.org/
always-auth=true
EOF
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
echo "registry=https://registry.npmjs.org/" >> ~/.npmrc
echo "always-auth=true" >> ~/.npmrc

- name: Debug - Check .npmrc content
run: |
echo "Contents of .npmrc:"
cat ~/.npmrc | sed 's/_authToken=.*/_authToken=***HIDDEN***/'
echo "NPM config:"
npm config list

- name: Debug - Verify authentication
run: |
Expand Down
Loading