Skip to content

Commit 7d56095

Browse files
publish npm auth (#696)
1 parent 1c18ec0 commit 7d56095

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/publish.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,29 @@ jobs:
1616
runs-on: macos-latest
1717
needs: [package]
1818
steps:
19+
- name: Setup Node.js
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: '20'
23+
registry-url: 'https://registry.npmjs.org'
1924
- name: Download Assembled Folder
2025
uses: actions/download-artifact@v4
2126
with:
2227
name: 'Assembled'
2328
path: Package/Assembled
29+
- name: Diagnose NPM Registry Connectivity
30+
env:
31+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
32+
run: |
33+
echo "--- Node & NPM versions ---"
34+
node --version
35+
npm --version
36+
echo "--- NPM config registry ---"
37+
npm config get registry
38+
echo "--- NPM ping ---"
39+
npm ping
40+
echo "--- NPM whoami ---"
41+
npm whoami
2442
- name: Version & Publish Package
2543
run: |
2644
npm version --no-git-tag-version ${GITHUB_REF/refs\/tags\//}

0 commit comments

Comments
 (0)