diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d9e0a64..8de66ce 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -50,7 +50,9 @@ jobs: git config user.email "bot@uphold.com" - name: Generate release - id: generate-release env: + NPM_TOKEN: ${{ secrets.RELEASE_NPM_TOKEN }} GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }} - run: yarn run release --increment "${{ github.event.inputs.VERSION_BUMP }}" -V + run: | + echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc + yarn run release --increment ${{ github.event.inputs.VERSION_BUMP }} -V