Skip to content

Commit 2c7da1d

Browse files
committed
debug: add npm whoami step to diagnose auth failure
1 parent d2617f4 commit 2c7da1d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ jobs:
2929
- name: Unit tests
3030
run: npx jest --testPathPatterns=spec
3131

32+
- name: Check npm auth
33+
run: npm whoami
34+
env:
35+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
36+
3237
- name: Publish to npm
3338
run: npm publish --ignore-scripts
3439
env:

0 commit comments

Comments
 (0)