-
Notifications
You must be signed in to change notification settings - Fork 2
106 lines (96 loc) · 2.99 KB
/
web-nextjs_bundle_analysis.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: '[Web] CI'
on:
pull_request:
paths:
- 'web/**'
- 'cloud/**'
- 'infra/**'
- '.github/workflows/web-nextjs_bundle_analysis.yml'
- '.github/workflows/nextjs_bundle_analysis_reusable.yml'
- '.github/workflows/cloud-deploy-preview_reusable.yml'
push:
branches:
- main
- next
paths:
- 'web/**'
- 'cloud/**'
- 'infra/**'
- '.github/workflows/web-nextjs_bundle_analysis.yml'
- '.github/workflows/nextjs_bundle_analysis_reusable.yml'
- '.github/workflows/cloud-deploy-preview_reusable.yml'
workflow_dispatch:
jobs:
cloud_preview:
name: "Cloud Primary infrastructure (preview)"
uses: ./.github/workflows/infra-deploy_reusable.yml
if: success() && github.event_name == 'pull_request'
with:
project: "cloud-primary"
baseRef: ${{ github.base_ref }}
command: "preview"
secrets: inherit
uier_infra_preview:
name: "uier infrastructure (preview)"
uses: ./.github/workflows/infra-deploy_reusable.yml
if: success() && github.event_name == 'pull_request'
with:
project: "uier"
baseRef: ${{ github.base_ref }}
command: "preview"
secrets: inherit
analyze_blog:
name: "Blog"
uses: ./.github/workflows/nextjs_bundle_analysis_reusable.yml
with:
workflowName: 'web-nextjs_bundle_analysis.yml'
name: 'blog'
path: 'web/apps/blog'
vercelProjectId: 'prj_VT7qOjkcEvkAsZH7MtSxWcVDWVpr'
secrets: inherit
analyze_app:
name: "App"
uses: ./.github/workflows/nextjs_bundle_analysis_reusable.yml
with:
workflowName: 'web-nextjs_bundle_analysis.yml'
name: 'app'
path: 'web/apps/app'
vercelProjectId: 'prj_q8N5ElZfzvq4BjEMBIsyEfqe4jsI'
secrets: inherit
analyze_brandgrab:
name: "BrandGrab"
uses: ./.github/workflows/nextjs_bundle_analysis_reusable.yml
with:
workflowName: 'web-nextjs_bundle_analysis.yml'
name: 'brandgrab'
path: 'web/apps/brandgrab'
vercelProjectId: 'prj_QHQO9V4WwYqlcpXNufZ4SU3Ryftx'
secrets: inherit
analyze_web:
name: "Web"
uses: ./.github/workflows/nextjs_bundle_analysis_reusable.yml
with:
workflowName: 'web-nextjs_bundle_analysis.yml'
name: 'web'
path: 'web/apps/web'
vercelProjectId: 'prj_PYE8WwpynTfjD6rVMiCp7sZoCPYw'
secrets: inherit
analyze_slco:
name: "slco"
uses: ./.github/workflows/nextjs_bundle_analysis_reusable.yml
with:
workflowName: 'web-nextjs_bundle_analysis.yml'
name: 'slco'
path: 'web/apps/slco'
vercelProjectId: 'prj_GNETZANB7evyT5coH7gptur1G1sN'
secrets: inherit
analyze_doprocess:
name: "doprocess"
uses: ./.github/workflows/nextjs_bundle_analysis_reusable.yml
with:
workflowName: 'web-nextjs_bundle_analysis.yml'
name: 'doprocess'
path: 'web/apps/doprocess'
vercelProjectId: 'prj_UoJ8CHr3RAlOya6A9fpJ4oKzQhCJ'
secrets: inherit