Skip to content

Commit

Permalink
Add npm login and whoami steps to npm-publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pelikhan committed Sep 23, 2024
1 parent 6436475 commit c9ec7da
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ jobs:
cache: yarn
- run: yarn install
- run: yarn compile
- run: npm login --registry=https://npm.pkg.github.com
working-directory: packages/cli
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: npm whoami
working-directory: packages/cli
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: npm publish
working-directory: packages/cli
env:
Expand Down

0 comments on commit c9ec7da

Please sign in to comment.