From fd85c8f81369713bde5a47cad1419eeafb636bc9 Mon Sep 17 00:00:00 2001 From: Jacob Date: Thu, 11 Jul 2024 03:15:14 +0000 Subject: [PATCH] got the env var name wrong and the input type --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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