Skip to content

Commit 48744bc

Browse files
authored
Refactor npm publish step in workflow
Simplified npm publish command by removing whoami step.
1 parent 7c4f919 commit 48744bc

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
@@ -23,6 +23,4 @@ jobs:
2323
- run: npm version ${TAG_NAME} --git-tag-version=false
2424
env:
2525
TAG_NAME: ${{ github.event.release.tag_name }}
26-
- run: npm whoami; npm --ignore-scripts publish --provenance
27-
env:
28-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
26+
- run: npm --ignore-scripts publish --provenance

0 commit comments

Comments
 (0)