Skip to content

Commit 5216f0b

Browse files
authored
Simplify npm publish step in workflow
Removed npm whoami step and simplified publish command.
1 parent d9c549d commit 5216f0b

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 publish --provenance

0 commit comments

Comments
 (0)