9191
9292 - template : .devops/templates/cleanup.yml
9393
94- - job : build_converged
95- workspace :
96- clean : all
97- timeoutInMinutes : 75
98- pool : ' Self Host Ubuntu'
99- steps :
100- - template : .devops/templates/tools.yml
101-
102- - task : Bash@3
103- inputs :
104- filePath : yarn-ci.sh
105- displayName : yarn
106-
107- - script : yarn build --to @fluentui/react-components --no-cache
108- displayName : yarn build to @fluentui/react-components
109-
110- - script : yarn workspace test-bundles bundle:size
111- displayName : yarn bundle test-bundles
112- env :
113- PACKAGE : ' @fluentui/react-components'
114-
115- - script : yarn bundlesizecollect
116- displayName : ' Collate Bundle Size Information'
117-
118- - task : PublishBuildArtifacts@1
119- displayName : ' Publish Bundle Size information to Azure Dev Ops Artifacts'
120- inputs :
121- PathtoPublish : ' apps/test-bundles/dist/bundlesize.json'
122- ArtifactName : bundlesize-converged
123-
124- - task : PublishBuildArtifacts@1
125- displayName : ' Publish Artifact dist folder upon build for debug'
126- inputs :
127- PathtoPublish : ' apps/test-bundles/dist'
128- ArtifactName : distdrop-converged
129-
130- - template : .devops/templates/cleanup.yml
131-
13294 - job : build_northstar
13395 workspace :
13496 clean : all
@@ -172,7 +134,6 @@ jobs:
172134 vmImage : ' windows-2019'
173135 dependsOn :
174136 - build_northstar
175- - build_converged
176137 - build_react
177138 steps :
178139 - checkout : none
@@ -183,12 +144,6 @@ jobs:
183144 artifactName : ' bundlesize-react'
184145 targetPath : ' $(Build.ArtifactStagingDirectory)/react'
185146
186- - task : DownloadPipelineArtifact@2
187- displayName : ' Download Pipeline Artifact: @fluentui/react-components'
188- inputs :
189- artifactName : ' bundlesize-converged'
190- targetPath : ' $(Build.ArtifactStagingDirectory)/react-converged'
191-
192147 - task : DownloadPipelineArtifact@2
193148 displayName : ' Download Pipeline Artifact: @fluentui/react-northstar'
194149 inputs :
@@ -198,7 +153,7 @@ jobs:
198153 - script : ' chocolatey install jq'
199154 displayName : ' Install jq'
200155
201- - script : jq -c -s "reduce .[] as $item ({}; . * $item)" $(Build.ArtifactStagingDirectory)/react-converged/bundlesize.json $(Build.ArtifactStagingDirectory)/react- northstar/bundlesize.json $(Build.ArtifactStagingDirectory)/react/bundlesize.json > $(Build.ArtifactStagingDirectory)/bundlesizes.json
156+ - script : jq -c -s "reduce .[] as $item ({}; . * $item)" $(Build.ArtifactStagingDirectory)/react-northstar/bundlesize.json $(Build.ArtifactStagingDirectory)/react/bundlesize.json > $(Build.ArtifactStagingDirectory)/bundlesizes.json
202157 displayName : ' Merge @fluentui/react, @fluentui/react-components & @fluentui/react-northstar to bundlesizes.json'
203158
204159 - task : PublishBuildArtifacts@1
0 commit comments