diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 91bfdb7..67b83f3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,6 +3,7 @@ on: workflow_dispatch: inputs: release-type: + type: choice description: 'Release type (one of): patch, minor, major, prepatch, preminor, premajor, prerelease' required: true default: prerelease @@ -30,6 +31,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v4 with: + registry-url: 'https://registry.npmjs.org' node-version: 20 cache: 'pnpm' @@ -86,7 +88,7 @@ jobs: - name: Publish run: npm publish --verbose --access public --tag ${{ env.RELEASE_TAG }} env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} # Push repository changes - name: Push changes to repository