Skip to content

Commit fd74168

Browse files
authored
Simplify npm publish step in workflow
Removed npm whoami command from the publish workflow.
1 parent 53a9e5c commit fd74168

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,4 @@ jobs:
2424
- run: npm version ${TAG_NAME} --git-tag-version=false
2525
env:
2626
TAG_NAME: ${{ github.event.release.tag_name }}
27-
- run: npm whoami; npm --ignore-scripts publish --provenance
28-
env:
29-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
27+
- run: npm --ignore-scripts publish --provenance

0 commit comments

Comments
 (0)