diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a85f30d1..4008ddbc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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' }}