Skip to content

Commit 2b5c598

Browse files
committed
Update publish-npm.yml
1 parent e9b2eea commit 2b5c598

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/publish-npm.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,11 @@ jobs:
9999
echo "Version ${PACKAGE_NAME}@${PACKAGE_VERSION} does not exist on npm. Publishing."
100100
fi
101101
102+
- name: Verify npm auth
103+
run: npm whoami
104+
env:
105+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
106+
102107
- name: Publish to NPM
103108
if: steps.npm_check.outputs.exists == 'false'
104109
run: |

0 commit comments

Comments
 (0)