ci: attach Cypress CT diff-snapshots to CI report #23991
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: ⚙️ Unit tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
if: ${{ !contains(github.head_ref, 'release/') }} | |
runs-on: ubuntu-latest | |
name: Unit tests | |
steps: | |
- uses: actions/[email protected] | |
- uses: taiga-family/ci/actions/setup/[email protected] | |
- uses: taiga-family/ci/actions/setup/[email protected] | |
- uses: taiga-family/ci/actions/run/[email protected] | |
id: info | |
- run: npx nx run cdk:schematics --v=${{ steps.info.outputs.root-package-major-version }} | |
- run: npm test | |
- run: tree -L 2 ./coverage -P 'lcov.info' | |
- uses: codecov/[email protected] | |
with: | |
codecov_yml_path: ./.github/codecov.yml | |
directory: ./coverage/ | |
flags: summary | |
name: units | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true |