Skip to content

Commit

Permalink
Replace node-specific codecov upload with Github Action (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
julianweng authored Sep 22, 2024
1 parent 507f4cf commit 8fecd8d
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/react.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,13 @@ jobs:
cd ${{ inputs.path }}
yarn test
- name: Upload Code Coverage
run: |-
ROOT=$(pwd)
cd ${{ inputs.path }}
yarn run codecov -p $ROOT -F frtype=local,src=/tmp/.buildx-cacheontend
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ${{ inputs.path }}
fail_ci_if_error: true
name: codecov-umbrella
verbose: true
container:
image: node:${{ inputs.nodeVersion }}
publish-frontend:
Expand Down

0 comments on commit 8fecd8d

Please sign in to comment.