Skip to content

Commit

Permalink
fix: upload code cov (#75)
Browse files Browse the repository at this point in the history
Signed-off-by: Mirko Mollik <mirko.mollik@fit.fraunhofer.de>
Co-authored-by: Mirko Mollik <mirko.mollik@fit.fraunhofer.de>
Signed-off-by: Mirko Mollik <mirko.mollik@fit.fraunhofer.de>
  • Loading branch information
cre8 and cre8 committed Mar 8, 2024
1 parent 6b5b044 commit 1b24ff9
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/build-test-publish-on-push-cached.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
cache: 'pnpm'
- name: 'Run node'
run: pnpm test
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: coverage-artifacts
path: coverage/
Expand All @@ -73,17 +73,13 @@ jobs:
with:
fetch-depth: 0
persist-credentials: false
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: coverage-artifacts
path: coverage
# - name: Merge Code Coverage
# run: npx nyc merge coverage/ coverage/coverage-final.json
# TODO: include once we have codecov token setup
# - uses: codecov/codecov-action@v3
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# fail_ci_if_error: false
- uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true

# lint:
# needs: build
Expand Down

0 comments on commit 1b24ff9

Please sign in to comment.