Remove unnecessary quotes from yaml

This commit is contained in:
Michal Dorner 2021-02-01 21:20:03 +01:00
parent 30b8c3e01b
commit 60d8992614
No known key found for this signature in database
GPG key ID: 9EEE04B48DA36786
2 changed files with 11 additions and 11 deletions

View file

@ -10,7 +10,7 @@ on:
jobs:
build-test:
name: 'Build & Test'
name: Build & Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@ -19,10 +19,10 @@ jobs:
- run: npm run format-check
- run: npm run lint
- run: npm test
- name: 'Evaluate test results'
if: always()
- name: Create test report
if: success() || failure()
uses: ./
with:
name: 'JEST Tests'
path: '__tests__/__results__/*.xml'
reporter: 'jest-junit'
name: JEST Tests
path: __tests__/__results__/*.xml
reporter: jest-junit

View file

@ -28,20 +28,20 @@ Please create [Issue](https://github.com/dorny/test-reporter/issues/new) or cont
```yaml
jobs:
build-test:
name: 'Build & Test'
name: Build & Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2 # checkout the repo
- run: npm ci # install packages
- run: npm test # run tests (configured to use jest-junit reporter)
- name: 'Test Report'
- name: Test Report
uses: dorny/test-reporter@v1
if: success() || failure() # 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 report
reporter: 'jest-junit' # Format of test report
name: JEST Tests # Name of the check run which will be created
path: reports/jest-*.xml # Path to test report
reporter: jest-junit # Format of test report
```
## Usage