diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 678290f..e71d8c8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,7 +16,6 @@ jobs: uses: actions/setup-node@v4 with: node-version: 18 - registry-url: 'https://registry.npmjs.org/' - name: Install pnpm uses: pnpm/action-setup@v2 @@ -32,5 +31,4 @@ jobs: GITHUB_TOKEN: ${{ github.token }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - RELEASE_TAG: ${{ github.event.release.prerelease && 'next' || 'latest' }} - run: npm publish --tag $RELEASE_TAG + run: npm publish --tag ${{ github.event.release.prerelease && 'next' || 'latest' }}