Skip to content

Commit

Permalink
Test report
Browse files Browse the repository at this point in the history
  • Loading branch information
woksin committed Sep 13, 2023
1 parent a1cd21b commit ed87b4c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,10 @@ jobs:
name: Install dependencies
- run: bun run ci
name: Build, Test and Lint
- name: Test Report
uses: dorny/test-reporter@v1
if: success() || failure() # run this step even if previous step failed
with:
name: Test Report
path: test-results.json
reporter: mocha-json
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"scripts": {
"build": "tsc -b && yarn test:clean && npx ncc build Distribution/action.js --out release",
"build:ci": "tsc -b && yarn lint",
"test": "mocha",
"test": "mocha --reporter json > test-results.json",
"test:clean": "rimraf Distribution/**/for_*",
"lint": "eslint --quiet --ext .ts ./",
"lint:fix": "eslint --quiet --ext .ts ./ --fix",
Expand Down

0 comments on commit ed87b4c

Please sign in to comment.