Skip to content

Commit

Permalink
try strictly follow github docs
Browse files Browse the repository at this point in the history
  • Loading branch information
aprosail committed Jun 22, 2024
1 parent 0b5edfc commit 82e96ca
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,8 @@ 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
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: npm publish
- run: npm publish --provenance --access public
env: {NODE_AUTH_TOKEN: "${{ secrets.NPM_TOKEN }}"}

0 comments on commit 82e96ca

Please sign in to comment.