mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-14 00:19:16 +01:00
fix: custom test-script for yart coverage reporter action
This commit is contained in:
parent
fdffb03fb3
commit
e76345e243
1
.github/workflows/build_prs_jest_report.yaml
vendored
1
.github/workflows/build_prs_jest_report.yaml
vendored
@ -38,6 +38,7 @@ jobs:
|
||||
with:
|
||||
package-manager: yarn
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
test-script: yarn run test:coverage:jest
|
||||
env:
|
||||
CI: true
|
||||
TEST_DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres
|
||||
|
@ -41,6 +41,7 @@
|
||||
"test:docker": "./scripts/docker-postgres.sh",
|
||||
"test:watch": "yarn test --watch",
|
||||
"test:coverage": "NODE_ENV=test PORT=4243 jest --coverage --forceExit",
|
||||
"test:coverage:jest": "NODE_ENV=test PORT=4243 jest --silent --ci --coverage --coverageReporters=\"text\" --coverageReporters=\"text-summary\" --forceExit",
|
||||
"clean": "del-cli --force dist"
|
||||
},
|
||||
"jest": {
|
||||
|
Loading…
Reference in New Issue
Block a user