diff --git a/.github/workflows/official-release.yml b/.github/workflows/official-release.yml index 6790865989..85b1b15f63 100644 --- a/.github/workflows/official-release.yml +++ b/.github/workflows/official-release.yml @@ -51,6 +51,10 @@ jobs: - name: Run scripts run: npm run preinstall && npm run install + - name: Test + if: steps.changes.outputs.result == 'ok' + run: npm test + - name: Determine the version bump id: version uses: actions/github-script@v6 @@ -154,7 +158,7 @@ jobs: id: cpr uses: peter-evans/create-pull-request@v5 with: - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.PR_TOKEN }} commit-message: "[OFFICIAL RELEASE] ${{ steps.version.outputs.result }}" committer: foxriver76 author: foxriver76