-
Notifications
You must be signed in to change notification settings - Fork 30
45 lines (37 loc) · 1.01 KB
/
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/**'
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
playwright:
needs: [container]
uses: ./.github/workflows/playwright.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
pull-requests: write # required by riff-raff action
needs: [container, prettier, jest, lint, playwright, 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 }}