rearrange jobs

This commit is contained in:
Jacob Overgaard
2022-08-09 17:19:30 +02:00
parent 1b43d899d3
commit 03802f0e15

View File

@@ -33,6 +33,13 @@ jobs:
- run: npm run build
- run: sudo npx playwright install-deps
- run: npm test
- name: Upload Code Coverage reports
uses: actions/upload-artifact@v2
if: always()
with:
name: code-coverage
path: coverage/
retention-days: 30
- name: Report code coverage
uses: zgosalvez/github-actions-report-lcov@v1
with:
@@ -40,9 +47,3 @@ jobs:
artifact-name: code-coverage-report
github-token: ${{ secrets.GITHUB_TOKEN }}
working-directory: ./
- uses: actions/upload-artifact@v2
if: always()
with:
name: coverage-report-html
path: coverage/lcov-report/
retention-days: 30