Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,20 @@ jobs:
run: yarn install --frozen-lockfile
- name: Test
run: yarn test

required-ci:
needs:
- test
runs-on: ubuntu-latest
if: ${{ always() }}
steps:
- name: Fail if any required job failed or was cancelled
if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}
env:
TEST_RESULT: ${{ needs.test.result }}
run: |
echo "One or more required jobs did not succeed:"
echo " test: $TEST_RESULT"
exit 1
- name: We are done
run: echo "Hello World"
Loading