Skip to content

Commit

Permalink
add test check to see if yarn get npm token
Browse files Browse the repository at this point in the history
  • Loading branch information
sotojn committed Jan 10, 2025
1 parent 59ce57e commit 30a5d17
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
- name: Install and build packages
run: yarn && yarn setup

- name: Verify npm authentication within yarn
run: CI_NPM_AUTH_TOKEN=${{ secrets.NPM_TOKEN }} yarn npm whoami

- name: Publish to npm
run: CI_NPM_AUTH_TOKEN=${{ secrets.NPM_TOKEN }} yarn ts-scripts publish -t tag npm

Expand Down

0 comments on commit 30a5d17

Please sign in to comment.