@@ -193,6 +193,60 @@ jobs:
193193 - dist
194194 - sizes/*.json
195195
196+ build_devtools :
197+ docker : *docker
198+ environment : *environment
199+ parallelism : 20
200+ steps :
201+ - checkout
202+ - attach_workspace : *attach_workspace
203+ - *restore_yarn_cache
204+ - *run_yarn
205+ - run :
206+ environment :
207+ RELEASE_CHANNEL : experimental
208+ command : |
209+ cd packages/react-devtools
210+ npm pack
211+ - run :
212+ environment :
213+ RELEASE_CHANNEL : experimental
214+ command : |
215+ cd packages/react-devtools-core
216+ npm pack
217+ - run :
218+ environment :
219+ RELEASE_CHANNEL : experimental
220+ command : |
221+ cd packages/react-devtools-inline
222+ npm pack
223+ - run :
224+ environment :
225+ RELEASE_CHANNEL : experimental
226+ command : |
227+ cd packages/react-devtools-extensions
228+ yarn build
229+ - persist_to_workspace :
230+ root : .
231+ paths :
232+ - packages/react-devtools-extensions/chrome/build/ReactDevTools.zip
233+ - packages/react-devtools-extensions/firefox/build/ReactDevTools.zip
234+ - packages/react-devtools/react-devtools*.tgz
235+ - packages/react-devtools-core/react-devtools-core*.tgz
236+ - packages/react-devtools-inline/react-devtools-inline*.tgz
237+
238+ process_artifacts_devtools :
239+ docker : *docker
240+ environment : *environment
241+ steps :
242+ - checkout
243+ - attach_workspace : *attach_workspace
244+ - *restore_yarn_cache
245+ - *run_yarn
246+ - run : ./scripts/circleci/pack_and_store_devtools_artifacts.sh
247+ - store_artifacts :
248+ path : ./build/devtools.tgz
249+
196250 # These jobs are named differently so we can distinguish the stable and
197251 # and experimental artifacts
198252 process_artifacts : *process_artifacts
@@ -267,7 +321,7 @@ jobs:
267321 RELEASE_CHANNEL : experimental
268322 command : yarn test-build --maxWorkers=2
269323
270- test_build_devtools :
324+ test_devtools :
271325 docker : *docker
272326 environment : *environment
273327 steps :
@@ -402,9 +456,15 @@ workflows:
402456 - lint_build :
403457 requires :
404458 - build_experimental
405- - test_build_devtools :
459+ - test_devtools :
406460 requires :
407461 - build_experimental
462+ - build_devtools :
463+ requires :
464+ - build_experimental
465+ - process_artifacts_devtools :
466+ requires :
467+ - build_devtools
408468
409469 fuzz_tests :
410470 triggers :
0 commit comments