Skip to content

GitHub Action for Automated Testing upon approval #4

GitHub Action for Automated Testing upon approval

GitHub Action for Automated Testing upon approval #4

Workflow file for this run

name: Test on Approval
# on:
# pull_request_review:
# types: [submitted]
# Only for testing the workflow
on:
pull_request:
types: [opened, synchronize]
push:
branches: [main]
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