Skip to content

Commit ffeb0eb

Browse files
committed
chore: temporary npm auth debug workflow
1 parent 98a8d20 commit ffeb0eb

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Debug npm auth
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
debug:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: pnpm/action-setup@v4
11+
- uses: actions/setup-node@v4
12+
with:
13+
node-version-file: .nvmrc
14+
registry-url: https://registry.npmjs.org
15+
- name: whoami with NPM_TOKEN
16+
env:
17+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
18+
run: |
19+
echo "token length: ${#NODE_AUTH_TOKEN}"
20+
echo "first 7 chars: ${NODE_AUTH_TOKEN:0:7}"
21+
npm whoami --registry=https://registry.npmjs.org

0 commit comments

Comments
 (0)