Skip to content

Commit

Permalink
fix: npm token
Browse files Browse the repository at this point in the history
  • Loading branch information
shuta13 committed Apr 18, 2024
1 parent 7c5b3eb commit 03be7ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

jobs:
publish:
Expand Down Expand Up @@ -43,5 +44,3 @@ jobs:
with:
version: ${{ github.event.inputs.tag }}
publish: npm run release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
engine-strict=true
//registry.npmjs.org/:_authToken=${process.env.NPM_TOKEN}

0 comments on commit 03be7ab

Please sign in to comment.