Skip to content

Commit d6aecd5

Browse files
authored
Simplify npm publish command in workflow
Removed npm whoami command from publish step.
1 parent 777f11e commit d6aecd5

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
@@ -26,6 +26,4 @@ jobs:
2626
npm version ${TAG_NAME} --git-tag-version=false
2727
env:
2828
TAG_NAME: ${{github.event.release.tag_name}}
29-
- run: npm whoami; npm --ignore-scripts publish --provenance
30-
env:
31-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
29+
- run: npm --ignore-scripts publish --provenance

0 commit comments

Comments
 (0)