chore: update codecov/codecov-action action to v5.0.7 (#1859) #4191
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: Tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4.2.2 | |
- uses: taiga-family/ci/actions/setup/variables@v1.99.0 | |
- uses: taiga-family/ci/actions/setup/node@v1.99.0 | |
- name: Run tests | |
run: npx nx run-many --target test --all --coverage | |
- name: Archive coverage artifacts | |
uses: actions/upload-artifact@v4.4.3 | |
with: | |
name: coverage-${{ github.workflow }}-${{ github.run_id }} | |
path: coverage | |
codecov: | |
name: Collect coverage | |
needs: [tests] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4.2.2 | |
- uses: actions/download-artifact@v4.1.8 | |
with: | |
name: coverage-${{ github.workflow }}-${{ github.run_id }} | |
path: coverage | |
- name: Display structure of coverage files | |
run: tree -L 2 ./coverage -P 'lcov.info' | |
- uses: codecov/codecov-action@v5.0.7 | |
with: | |
directory: ./coverage/core/ | |
flags: summary,core | |
name: core | |
- uses: codecov/codecov-action@v5.0.7 | |
with: | |
directory: ./coverage/kit/ | |
flags: summary,kit | |
name: kit | |
- uses: codecov/codecov-action@v5.0.7 | |
with: | |
directory: ./coverage/phone/ | |
flags: summary,phone | |
name: phone | |
- uses: codecov/codecov-action@v5.0.7 | |
with: | |
directory: ./coverage/angular/ | |
flags: summary,angular | |
name: angular | |
- uses: codecov/codecov-action@v5.0.7 | |
with: | |
directory: ./coverage/react/ | |
flags: summary,react | |
name: react | |
- uses: codecov/codecov-action@v5.0.7 | |
with: | |
directory: ./coverage/vue/ | |
flags: summary,vue | |
name: vue | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true |