-
Notifications
You must be signed in to change notification settings - Fork 1
30 lines (27 loc) · 860 Bytes
/
qa.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: QA
on:
pull_request:
push:
branches:
- "**"
- "!main"
jobs:
qa:
# We don't need to run this on Renovate PRs. We will already test the `renovate/foo` branch.
if: github.event_name != 'pull_request' || github.actor != 'renovate[bot]'
name: 🔹 QA
uses: oliversalzburg/workflows/.github/workflows/qa-npm-package.yml@main
qa-passed:
needs:
- qa
name: QA Passed
# We don't need to run this on Renovate PRs. We will already test the `renovate/foo` branch.
if: always() && ( github.event_name != 'pull_request' || github.actor != 'renovate[bot]' )
runs-on: ubuntu-24.04
steps:
- name: Failure
if: ${{ contains(needs.*.result, 'failure') }}
run: exit 1
- name: Success
if: ${{ success() && !(contains(needs.*.result, 'failure')) }}
run: exit 0