alcpereira / 100hunters

Let's goooo
6 stars 11 forks source link

Spike Storybook deployment (PR + `main`) #23

Open alcpereira opened 2 months ago

alcpereira commented 2 months ago

Description

To be easier to review and to maintain, we should have PR previews of the Storybook on PR that includes changes in the app/components folder.

We should be able to build the Storybook from the PR/main and build it into a single folder and serve it using a basic web-server, like here in the docs. Ideally we should also tear down this build on PR closing/being merged.

We can use a free hosting service or a running VPS to do this.

Another solution would be to use Chromatic, for example with this Github Action.

ACs