Skip to content

Commit

Permalink
ci(test): add logic to fail if dependent job failed
Browse files Browse the repository at this point in the history
  • Loading branch information
oscard0m committed Aug 16, 2022
1 parent 4642b39 commit 14eef82
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ jobs:
if: ${{ always() }}
needs: test_matrix
steps:
- run: exit 1
if: ${{ needs.test_matrix.result != 'success' }}

- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
- run: npm ci
- run: npm run lint



0 comments on commit 14eef82

Please sign in to comment.