diplodoc-platform / diplodoc-platform/components
Automate Storybook Deployment to S3 on Each PR
- Dominant language
- TypeScript
- Stars
- 14
- Forks
- 35
- Avg merge
- 10h 6m
- Merged PRs (30d)
- 17
Description
Set up a CI process to automatically build and deploy a static version of Storybook to the existing S3 bucket used in Playwright tests for every pull request.
**Acceptance Criteria:**
1. Build Automation:
- Trigger Storybook build on each PR.
2. S3 Deployment:
- Deploy the static Storybook build to the S3 bucket currently used in Playwright tests.
3. CI Integration:
- Integrate the process with the current CI/CD pipeline.
**Tasks:**
1. Update CI configuration to include Storybook build step.
2. Configure deployment script to upload Storybook to the specified S3 bucket.
3. Test the deployment process to ensure reliability.
This will streamline Storybook access and improve testing and development workflows.
**Example:**
https://github.com/gravity-ui/uikit/blob/main/.github/workflows/main-preview.yml
Contributor guide
Assessment
This issue has not been assessed yet.