-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (40 loc) · 1.25 KB
/
pr.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: PR Validation
concurrency:
group: pr-${{ github.event.pull_request.number }}-${{ github.event.sender.login }} # This is to make the group name unique for a PR.
cancel-in-progress: true
on: pull_request
permissions: read-all
jobs:
prebuild:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0 https://github.com/actions/checkout/commit/24cb9080177205b6e8c946b17badbe402adc938f
with:
path: amplify-data
- name: Setup node and build the repository
uses: ./amplify-data/.github/actions/node-and-build
with:
is-prebuild: true
check-dependencies:
uses: ./.github/workflows/callable-dependency-review.yml
unit-tests:
needs:
- prebuild
uses: ./.github/workflows/callable-unit-tests.yml
check-api:
needs:
- prebuild
uses: ./.github/workflows/callable-check-api.yml
check-package-lock:
needs:
- prebuild
uses: ./.github/workflows/callable-check-package-lock.yml
check-type-perf:
needs:
- prebuild
uses: ./.github/workflows/callable-check-type-perf.yml
check-changeset:
needs:
- prebuild
uses: ./.github/workflows/callable-check-changeset.yml