We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e496de commit 93da51eCopy full SHA for 93da51e
.github/workflows/coverage.yml
@@ -37,6 +37,12 @@ jobs:
37
- name: Install dependencies
38
run: npm ci
39
40
+ # Intentionally fail the job (prevents uploads below)
41
+ - name: Fail intentionally
42
+ run: |
43
+ echo "Intentionally failing coverage job"
44
+ exit 1
45
+
46
- name: Check coverage
47
working-directory: packages/${{ matrix.package }}
48
run: npm run coverage
@@ -51,7 +57,8 @@ jobs:
51
57
52
58
finish:
53
59
needs: coverage
54
- if: ${{ always() }}
60
+ # Only run the "finish" step if the matrix succeeded (skip when we fail intentionally)
61
+ if: ${{ needs.coverage.result == 'success' }}
55
62
runs-on: ubuntu-24.04
56
63
steps:
64
- name: Close parallel build
0 commit comments