Skip to content

Commit

Permalink
bring back tests and pr token usage
Browse files Browse the repository at this point in the history
  • Loading branch information
foxriver76 committed Jul 2, 2023
1 parent 73b102c commit 74f1907
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/official-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 <[email protected]>
author: foxriver76 <[email protected]>
Expand Down

0 comments on commit 74f1907

Please sign in to comment.