Test on Approval #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test on Approval | |
on: | |
pull_request_review: | |
types: [submitted] | |
jobs: | |
test: | |
# Only run if the review was approved | |
if: github.event.review.state == 'approved' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup | |
- name: Run tests | |
run: yarn test |