Skip to content

Commit 99fadec

Browse files
authored
Merge pull request #68 from github/gracepark-patch-1
Simplify npm publish step in workflow
2 parents 0e96937 + dd2b23c commit 99fadec

2 files changed

Lines changed: 2 additions & 5 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

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,5 +76,4 @@ jobs:
7676
run: npm run build --if-present
7777
- name: Publish
7878
run: npm publish --provenance --access public
79-
env:
80-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
79+

0 commit comments

Comments
 (0)