test-reporter/.github/workflows/ci.yml
2021-01-16 22:54:48 +01:00

28 lines
608 B
YAML

name: 'build-test'
on:
pull_request:
paths-ignore: [ 'README.md' ]
push:
paths-ignore: [ 'README.md' ]
branches:
- main
workflow_dispatch:
jobs:
build-test:
name: 'Build & Test'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm ci
- run: npm run build
- run: npm run format-check
- run: npm run lint
- run: npm test
- name: 'Evaluate test results'
if: always()
uses: ./
with:
name: 'JEST Tests'
path: '__tests__/__results__/*.xml'
reporter: 'jest-junit'