chore: bump codecov/codecov-action from 5.0.2 to 5.0.3 #12382
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: Coverage | |
on: | |
pull_request: | |
paths: | |
- '/*.js' | |
- '*.ts' | |
- '*-lock.yaml' | |
- 'package.json' | |
- 'packages/**/*-lock.yaml' | |
- 'packages/**/*.js' | |
- 'packages/**/*.ts' | |
- 'packages/**/*.mts' | |
- 'packages/**/package.json' | |
- '.github/workflows/coverage.yml' | |
- '!docs/**' | |
- '!website/**' | |
push: | |
branches: | |
- main | |
paths: | |
- '**/package.json' | |
- '**/*-lock.yaml' | |
- '**/*.ts' | |
- '**/*.mts' | |
- '**/*.js' | |
- '.github/workflows/coverage.yml' | |
- '!docs/**' | |
- '!website/**' | |
permissions: | |
contents: read | |
jobs: | |
coverage: | |
permissions: | |
checks: write # for coverallsapp/github-action to create new checks | |
contents: read # for actions/checkout to fetch code | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install and Build | |
uses: ./.github/actions/install-build | |
- run: pnpm run coverage | |
- name: Upload coverage Coveralls | |
id: coveralls | |
uses: coverallsapp/github-action@cfd0633edbd2411b532b808ba7a8b5e04f76d2c8 # 2.3.4 | |
continue-on-error: true | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
path-to-lcov: ./lcov.info | |
- name: Upload coverage to Codecov | |
id: codecov | |
uses: codecov/codecov-action@05f5a9cfad807516dbbef9929c4a42df3eb78766 # v5.0.3 | |
continue-on-error: true | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
directory: '.' | |
files: ./lcov.info | |
- name: Show Summary | |
uses: streetsidesoftware/actions/public/summary@v1 | |
with: | |
text: | | |
Coveralls: ${{ steps.coveralls.outcome }} | |
Codecov: ${{ steps.codecov.outcome }} |