React Component Developer Workflow

How can I implement a continuous integration system for custom react components?

Currently I have a create-react-app which I build with yarn build and use gulp to inline all css and js into a single file which I then copy-and-paste into the custom component code editor.

Surely you guys aren't all doing copy and paste for custom components, right? I've been searching the web with no good results yet.

Here is one undocumented API I found:
https://mydomain.retool.com/api/pages/uuids/06d747a0-d819-d1eb-dbd9-d79028bacba1/save

The other alternative I was going to use was compile it all to a umd using a local dev server and include through a script tag using ngrok for ssl.

Thanks in advance for ideas!