Skip to content

Commit

Permalink
Verify npmjs access token in secret before running publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
komiya-atsushi committed Jun 27, 2024
1 parent d61ae1d commit ca00420
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- name: Verify npmjs access token (this step will fail if the token has expired)
run: npm whoami
- name: Configure git
run: |
git config --global user.name 'github-actions[bot]'
Expand Down

0 comments on commit ca00420

Please sign in to comment.