if: ${{ contains(steps.package-version.outputs.version, '-') == false }}
run: pnpm publish --no-git-checks
env:
- NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ NODE_AUTH_TOKEN: ${{ secrets.GPR_TOKEN }}
- name: Publish Pre-Release
if: ${{ contains(steps.package-version.outputs.version, '-') == true && contains(steps.package-version.outputs.version, '-beta') == false }}
run: pnpm publish --no-git-checks --tag next
env:
- NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ NODE_AUTH_TOKEN: ${{ secrets.GPR_TOKEN }}
- name: Publish Beta Release
if: ${{ contains(steps.package-version.outputs.version, '-beta') == true }}
run: pnpm publish --no-git-checks --tag beta
env:
- NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ NODE_AUTH_TOKEN: ${{ secrets.GPR_TOKEN }}