Skip to content

Commit

Permalink
use actions summary
Browse files Browse the repository at this point in the history
  • Loading branch information
mistic100 committed Oct 18, 2024
1 parent 7a85252 commit e2ce67e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ jobs:
- name: build
run: yarn ci:build

- uses: dorny/test-reporter@v1
- uses: dorny/test-reporter@1a288b62f8b75c0f433cbfdbc2e4800fbae50bd7
if: ${{ (success() || failure()) && github.repository == 'mistic100/Photo-Sphere-Viewer' }}
with:
name: build
name: mocha
use-actions-summary: true
path: 'packages/*/reports/mocha.json'
reporter: mocha-json

Expand All @@ -48,10 +49,11 @@ jobs:
yarn ci:build
yarn ci:e2e
- uses: dorny/test-reporter@v1
- uses: dorny/test-reporter@1a288b62f8b75c0f433cbfdbc2e4800fbae50bd7
if: ${{ (success() || failure()) && github.repository == 'mistic100/Photo-Sphere-Viewer' }}
with:
name: e2e
name: cypress
use-actions-summary: true
path: cypress/reports/e2e.json
reporter: mocha-json

Expand Down
3 changes: 2 additions & 1 deletion turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"inputs": ["src/**"]
},
"test": {
"inputs": ["src/**"]
"inputs": ["src/**"],
"outputs": ["reports/**"]
},
"build-doc": {},
"//#build-doc": {
Expand Down

0 comments on commit e2ce67e

Please sign in to comment.