Skip to content

Commit

Permalink
Add EnricoMi/publish-unit-test-result-action@v2
Browse files Browse the repository at this point in the history
  • Loading branch information
sixcorners committed Sep 30, 2024
1 parent f12ea11 commit 2b15081
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/npm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,9 @@ jobs:
cache: npm
- run: npm ci
- run: npm run build --if-present
- run: npm test -- --no-watch --no-progress --browsers=ChromeHeadless --code-coverage
- run: npm test -- --no-watch --no-progress --browsers=ChromeHeadless --code-coverage --reporters junit
- uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: TESTS-*.xml

1 change: 1 addition & 0 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ module.exports = function (config) {
require('karma-jasmine'),
require('karma-chrome-launcher'),
require('karma-jasmine-html-reporter'),
require('karma-junit-reporter'),
require('karma-coverage'),
require('@angular-devkit/build-angular/plugins/karma')
],
Expand Down
28 changes: 28 additions & 0 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.1.0",
"karma-junit-reporter": "^2.0.1",
"typescript": "~5.5.4"
}
}
}

0 comments on commit 2b15081

Please sign in to comment.