Stop double-running tests when a PR is opened

This commit is contained in:
sayhiben
2024-08-11 16:44:25 -07:00
parent cf73dcf604
commit c28ab1adf9

View File

@@ -2,7 +2,6 @@ name: test
on:
pull_request:
push:
permissions:
contents: read
@@ -32,8 +31,8 @@ jobs:
- name: Test Report
uses: dorny/test-reporter@v1
if: success() || failure() # run this step even if previous step failed
if: success() || failure()
with:
name: Jest Tests # Name of the check run which will be created
path: junit*.xml # Path to test results
reporter: jest-junit # Format of test results
name: Jest Tests
path: junit*.xml
reporter: jest-junit