Skip to content

Commit

Permalink
Fix npm publish command
Browse files Browse the repository at this point in the history
  • Loading branch information
bendera committed Oct 10, 2023
1 parent 40a3b84 commit 4d24624
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,13 @@ jobs:
npm pack
- name: Publish to Npmjs.com (Pre)
run: npm publish --tag=next vsc-elements-elements-${{ env.RELEASE_VERSION }}.tgz
run: npm publish --access=public --scope=@vsc-elements --tag=next vsc-elements-elements-${{ env.RELEASE_VERSION }}.tgz
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
if: ${{ github.event.inputs.releaseChannel == 'pre' }}

- name: Publish to Npmjs.com (Stable)
run: npm publish vsc-elements-elements-${{ env.RELEASE_VERSION }}.tgz
run: npm publish --access=public --scope=@vsc-elements vsc-elements-elements-${{ env.RELEASE_VERSION }}.tgz
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
if: ${{ github.event.inputs.releaseChannel == 'stable' }}
Expand Down

0 comments on commit 4d24624

Please sign in to comment.