feat: set fixed version for jest coverage tool, disable workflow for dependabot PRs (#208)

This commit is contained in:
Yusuf Seyrek 2023-05-16 14:15:15 +03:00 committed by GitHub
parent b24bbb3376
commit dbb1f16d66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,6 +4,7 @@ on: pull_request
jobs:
build:
if: github.actor != 'dependabot[bot]'
name: Tests
runs-on: ubuntu-latest
@ -17,7 +18,7 @@ jobs:
run: yarn
- name: Test Coverage
id: testCoverage
uses: anuraag016/Jest-Coverage-Diff@master
uses: anuraag016/Jest-Coverage-Diff@V1.4
with:
fullCoverageDiff: false
runCommand: "yarn jest --coverage --collectCoverage=true --coverageDirectory='./' --coverageReporters='json-summary' --forceExit --detectOpenHandles"