build(deps): bump the production-dependencies group across 1 directory with 2 updates #1640
Workflow file for this run
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: Build coverage reports | |
on: | |
pull_request: ~ | |
push: | |
branches: | |
- 'main' | |
jobs: | |
build: | |
runs-on: self-hosted | |
steps: | |
- name: Checkout the repo | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: build code coverage | |
run: ./.github/scripts/build_coverage.sh | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: coverage | |
path: result | |
upload-coverage: | |
needs: build | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout the repo | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
ref: ${{ github.event.pull_request.head.sha }} | |
- uses: actions/download-artifact@v4 | |
with: | |
name: coverage | |
path: result | |
- name: Give coverage files codecov-friendly names | |
#run: | |
run: ./.github/scripts/rename_coverage_files.sh | |
- name: List coverage files | |
run: echo "files=$(find result/* | tr \\\"\\n\\\" \\\",\\\" | head -c -1)" >> $GITHUB_OUTPUT | |
id: coverage_files | |
- name: Upload to codecov | |
uses: codecov/codecov-action@v5.0.2 | |
with: | |
files: "${{ steps.coverage_files.outputs.files }}" | |
token: ${{ secrets.CODECOV_TOKEN }} | |
slug: ramonacat/monorepo | |
fail_ci_if_error: true |