feat: init-express-backend #6
22
.github/workflows/run_back_test.yml
vendored
22
.github/workflows/run_back_test.yml
vendored
@ -1,11 +1,17 @@
|
|||||||
name: Jest test unit
|
name: 'coverage'
|
||||||
on: push
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
coverage:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: Install modules
|
- uses: ArtiomTr/jest-coverage-report-action@v2
|
||||||
run: npm ci
|
with:
|
||||||
- name: Run tests
|
working-directory: Express/barAndCafe
|
||||||
run: npm run test
|
test-script: npm run test
|
||||||
|
output: comment, report-markdown
|
||||||
|
prnumber: ${{ steps.findPr.outputs.number }}
|
||||||
|
custom-title: Coverage report for backend
|
Loading…
x
Reference in New Issue
Block a user