diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 33a7907c3..55a641b0e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,7 +27,7 @@ jobs: - uses: dorny/test-reporter@1a288b62f8b75c0f433cbfdbc2e4800fbae50bd7 if: ${{ (success() || failure()) && github.repository == 'mistic100/Photo-Sphere-Viewer' }} with: - name: mocha + name: tests use-actions-summary: true path: 'packages/*/reports/mocha.json' reporter: mocha-json @@ -49,10 +49,16 @@ jobs: yarn ci:build yarn ci:e2e + - uses: actions/upload-artifact@v4 + if: ${{ (success() || failure()) && github.repository == 'mistic100/Photo-Sphere-Viewer' }} + with: + name: e2e-report + path: cypress/reports/html + - uses: dorny/test-reporter@1a288b62f8b75c0f433cbfdbc2e4800fbae50bd7 if: ${{ (success() || failure()) && github.repository == 'mistic100/Photo-Sphere-Viewer' }} with: - name: cypress + name: e2e use-actions-summary: true path: cypress/reports/e2e.json reporter: mocha-json