Skip to content

Commit

Permalink
update package publish workflow pt.3
Browse files Browse the repository at this point in the history
  • Loading branch information
JackNoordhuis committed Sep 13, 2023
1 parent d9677a6 commit 3dae146
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/package-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ jobs:
run: |
echo "NPM_TAG=`echo '0.0.0-dist.${GITHUB_SHA::7}'" >> $GITHUB_ENV
- name: Publish ${{ NPM_TAG }} to npm registry
- name: Publish ${NPM_TAG} to npm registry
if: github.event_name == 'push'
run: |
npm publish --access public --tag ${{ NPM_TAG }}
npm publish --access public --tag ${NPM_TAG}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

Expand Down

0 comments on commit 3dae146

Please sign in to comment.