mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-15 13:57:09 +01:00
Use if: ${{ !cancelled() }}
This commit is contained in:
parent
890a17cecf
commit
302102c9a4
3 changed files with 4 additions and 4 deletions
|
|
@ -50,7 +50,7 @@ jobs:
|
|||
|
||||
- name: Test Report
|
||||
uses: dorny/test-reporter@v2
|
||||
if: success() || failure() # run this step even if previous step failed
|
||||
if: ${{ !cancelled() }} # run this step even if previous step failed
|
||||
with:
|
||||
name: JEST Tests # Name of the check run which will be created
|
||||
path: reports/jest-*.xml # Path to test results
|
||||
|
|
@ -79,7 +79,7 @@ jobs:
|
|||
- run: npm ci # install packages
|
||||
- run: npm test # run tests (configured to use jest-junit reporter)
|
||||
- uses: actions/upload-artifact@v4 # upload test results
|
||||
if: success() || failure() # run this step even if previous step failed
|
||||
if: ${{ !cancelled() }} # run this step even if previous step failed
|
||||
with:
|
||||
name: test-results
|
||||
path: jest-junit.xml
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue