chore(deps-dev): bump @testing-library/jest-dom from 6.4.2 to 6.4.3 (… #392
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Upload code coverage | |
on: | |
push: | |
branches: | |
- master | |
- 3.x | |
pull_request: | |
jobs: | |
codecov: | |
name: Upload code coverage | |
runs-on: ubuntu-latest | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm ci | |
- name: Run tests with coverage | |
run: npm run test-coverage | |
- name: Upload coverage report to Codecov | |
uses: codecov/codecov-action@v4.0.1 | |
with: | |
slug: recharts/recharts | |
files: ./coverage/coverage-final.json |