Skip to content

Commit

Permalink
add ctrf report
Browse files Browse the repository at this point in the history
  • Loading branch information
Ma11hewThomas committed Apr 18, 2024
1 parent 53ca6e5 commit 9cdbb09
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
- run: npm ci
- run: npm run build
- run: npm run test
- name: Publish Test Results
run: npx github-actions-ctrf summary path/to/your/ctrf-report.json
- run: npm run lint-check
- run: npm run format-check

Expand Down
4 changes: 4 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
reporters: [
'default',
['jest-ctrf-json-reporter', {}],
],
}
17 changes: 15 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-promise": "^6.1.1",
"jest": "^29.7.0",
"jest-ctrf-json-reporter": "^0.0.5",
"prettier": "^3.1.1",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2"
Expand Down

0 comments on commit 9cdbb09

Please sign in to comment.