Skip to content

Commit

Permalink
ci: add a success-check job
Browse files Browse the repository at this point in the history
  • Loading branch information
DanySK committed Nov 16, 2023
1 parent a2af165 commit 8b3dbda
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/real-workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,16 @@ jobs:
run: npm install
- name: Semantic Release
run: npx semantic-release
success:
runs-on: ubuntu-22.04
needs:
- test
- release
if: >-
always() && (
contains(join(needs.*.result, ','), 'failure')
|| !contains(join(needs.*.result, ','), 'cancelled')
)
steps:
- name: Verify that there were no failures
run: ${{ !contains(join(needs.*.result, ','), 'failure') }}

0 comments on commit 8b3dbda

Please sign in to comment.