Skip to content

Commit bfafa4f

Browse files
committed
ci(test): add logic to fail if dependent job failed
1 parent 0915497 commit bfafa4f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ jobs:
3232
if: ${{ always() }}
3333
needs: test_matrix
3434
steps:
35+
- run: exit 1
36+
if: ${{ needs.test_matrix.result != 'success' }}
37+
3538
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
3639
- run: npm ci
3740
- run: npm run lint

0 commit comments

Comments
 (0)