File tree Expand file tree Collapse file tree 3 files changed +33
-4
lines changed Expand file tree Collapse file tree 3 files changed +33
-4
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,37 @@ jobs:
125
125
126
126
- *save_cache
127
127
128
+ # --------------------------------------
129
+ # Job that builds the demo-app with AOT
130
+ # --------------------------------------
131
+ demo_app_aot :
132
+ << : *job_defaults
133
+ resource_class : xlarge
134
+ steps :
135
+ - *checkout_code
136
+ - *restore_cache
137
+ - *yarn_install
138
+
139
+ - run : yarn gulp ci:aot
140
+
141
+ - *save_cache
142
+
143
+ # -------------------------------------------------------------------------
144
+ # Job that pre-render's the universal app with `@angular/platform-server`.
145
+ # This verifies that Angular Material can be rendered within Node.
146
+ # -------------------------------------------------------------------------
147
+ prerender_build :
148
+ << : *job_defaults
149
+ resource_class : xlarge
150
+ steps :
151
+ - *checkout_code
152
+ - *restore_cache
153
+ - *yarn_install
154
+
155
+ - run : yarn gulp ci:prerender
156
+
157
+ - *save_cache
158
+
128
159
# ----------------------------------
129
160
# Lint job. Runs the gulp lint task.
130
161
# ----------------------------------
@@ -162,6 +193,8 @@ workflows:
162
193
integration_tests :
163
194
jobs :
164
195
- e2e_tests
196
+ - prerender_build
197
+ - demo_app_aot
165
198
166
199
# Lint workflow. As we want to lint in one job, this is a workflow with just one job.
167
200
lint :
Original file line number Diff line number Diff line change @@ -25,9 +25,7 @@ branches:
25
25
26
26
jobs :
27
27
include :
28
- - env : " MODE=aot"
29
28
- env : " MODE=payload"
30
- - env : " MODE=prerender"
31
29
- env : " MODE=saucelabs_required"
32
30
- env : " MODE=browserstack_required"
33
31
- env : " DEPLOY_MODE=build-artifacts"
Original file line number Diff line number Diff line change @@ -19,8 +19,6 @@ task('aot:deps', sequenceTask(
19
19
'cdk-experimental:build-release' ,
20
20
'material-experimental:build-release' ,
21
21
'material-moment-adapter:build-release' ,
22
- // The examples module needs to be built before building examples package
23
- 'build-examples-module' ,
24
22
'material-examples:build-release' ,
25
23
] ,
26
24
// Build the assets after the releases have been built, because the demo-app assets import
You can’t perform that action at this time.
0 commit comments