-
Notifications
You must be signed in to change notification settings - Fork 30
45 lines (37 loc) · 1002 Bytes
/
cicd.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
45
name: DCR CICD
on:
push:
paths-ignore:
- "apps-rendering/**"
- "dotcom-rendering/docs/**"
jobs:
container:
permissions:
packages: write
uses: ./.github/workflows/container.yml
prettier:
uses: ./.github/workflows/prettier.yml
jest:
uses: ./.github/workflows/jest.yml
lint:
uses: ./.github/workflows/lint.yml
cypress:
needs: [container]
uses: ./.github/workflows/cypress.yml
with:
container-image: ${{ needs.container.outputs.container-image }}
amp:
needs: [container]
uses: ./.github/workflows/amp.yml
with:
container-image: ${{ needs.container.outputs.container-image }}
publish:
permissions:
id-token: write
contents: read
needs: [container, prettier, jest, lint, cypress, amp]
uses: ./.github/workflows/publish.yml
with:
container-image: ${{ needs.container.outputs.container-image }}
secrets:
GU_RIFF_RAFF_ROLE_ARN: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }}