Skip to content

feat: Add GitHub Action to publish Storybook preview for every PR via Surge #30

@lornakelly

Description

@lornakelly

Description

Add a GitHub Actions workflow that publishes a live Storybook preview for every pull request using Surge.

The goal is that each PR gets a preview URL where reviewers and contributors can open and interact with the Storybook build for that branch, without needing to run the project locally.

Motivation

Reviewing UI and UX changes is much easier when a live preview is available directly from the PR.

This would help us:

  • let reviewers test Storybook examples from any PR
  • make component and editor UX changes easier to validate
  • reduce the need for local checkout just to review visual changes
  • give contributors a shared preview environment during implementation

Proposed Implementation

No response

Definition of Done

  • Implementation: Fully implemented according to the Serverless Workflow spec.
  • Unit Tests: Comprehensive unit tests are included and passing.
  • Integration Tests: Verified within the monorepo and target environments (Web/VS Code).
  • Documentation: Updated README.md, ADRs, or official docs.
  • Performance: No significant regression in editor responsiveness.
  • Accessibility: UI changes comply with accessibility standards.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions