Skip to content

Commit

Permalink
Custom test command
Browse files Browse the repository at this point in the history
  • Loading branch information
katspaugh committed Oct 17, 2023
1 parent 585a689 commit 576db9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ jobs:
- name: Annotations and coverage report
uses: ArtiomTr/jest-coverage-report-action@v2
with:
skip-step: install
package-manager: yarn
test-script: yarn test:ci
github-token: ${{ secrets.GITHUB_TOKEN }}
env:
TZ: CET
DEBUG_PRINT_LIMIT: 30000
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"prettier": "prettier -w \"{src,cypress,mocks,scripts}/**/*.{ts,tsx,css,js}\"",
"fix": "yarn lint:fix && ts-prune && yarn prettier",
"test": "cross-env TZ=CET DEBUG_PRINT_LIMIT=30000 jest",
"test:ci": "yarn test --ci --silent --coverage --json --watchAll=false --testLocationInResults --outputFile=jest.results.json",
"test:ci": "yarn test --ci --silent --coverage --json --watchAll=false --testLocationInResults --outputFile=report.json",
"test:coverage": "yarn test --coverage --watchAll=false",
"cmp": "./scripts/cmp.sh",
"routes": "node scripts/generate-routes.js > src/config/routes.ts && prettier -w src/config/routes.ts && cat src/config/routes.ts",
Expand Down

0 comments on commit 576db9f

Please sign in to comment.