Skip to content

Update DevTools build process to use artifacts from CI #17629

Closed
@bvaughn

Description

@bvaughn

Building (or even testing) DevTools currently requires building lots of artifacts locally e.g.

RELEASE_CHANNEL=experimental \
  yarn build \
    -- react/index,react-dom,react-is,react-debug-tools,scheduler \
    --type=NODE

To run the DevTools unit tests, you would also need to add react-test-renderer to the above list of targets.

Pros

  • Enables using DevTools to test local changes to react/renderers.

Cons

  • Slow to build renderers.
  • Requires installing Java (which causes Mozilla testers to complain).
  • Error message when you forget to build (or have an incomplete build) is very confusing when trying to e.g. build or run tests.

Maybe we should change the default build process to pull the latest (or a specific) build artifact from CI instead?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions