Skip to content

Commit

Permalink
fix ci add both token
Browse files Browse the repository at this point in the history
  • Loading branch information
aprosail committed Jun 22, 2024
1 parent c7aeb3f commit 0b5edfc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: {registry-url: "https://registry.npmjs.org"}
- run: npm install
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: npm run review
- run: npm login --registry https://registry.npmjs.org
- run: npm login
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: npm publish

0 comments on commit 0b5edfc

Please sign in to comment.