mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-19 00:15:43 +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:
|
with:
|
||||||
package-manager: yarn
|
package-manager: yarn
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
test-script: yarn run test:coverage:jest
|
||||||
env:
|
env:
|
||||||
CI: true
|
CI: true
|
||||||
TEST_DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres
|
TEST_DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres
|
||||||
|
@ -41,6 +41,7 @@
|
|||||||
"test:docker": "./scripts/docker-postgres.sh",
|
"test:docker": "./scripts/docker-postgres.sh",
|
||||||
"test:watch": "yarn test --watch",
|
"test:watch": "yarn test --watch",
|
||||||
"test:coverage": "NODE_ENV=test PORT=4243 jest --coverage --forceExit",
|
"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"
|
"clean": "del-cli --force dist"
|
||||||
},
|
},
|
||||||
"jest": {
|
"jest": {
|
||||||
|
Loading…
Reference in New Issue
Block a user