Skip to content

Commit

Permalink
Add token
Browse files Browse the repository at this point in the history
  • Loading branch information
ncalteen committed Nov 2, 2024
1 parent 12ee6b2 commit 7d43de0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
with:
node-version-file: .node-version
registry-url: https://registry.npmjs.org/
Expand All @@ -26,6 +28,7 @@ jobs:
npm version ${TAG_NAME} --git-tag-version=false
env:
TAG_NAME: ${{ github.event.inputs.tag_name }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: npm whoami; npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 comments on commit 7d43de0

Please sign in to comment.