canary
Publish Canary Release
Publishes a canary version of Storybook from a PR to npm.
Usage
To trigger a canary release, run:
gh workflow run --repo storybookjs/storybook publish.yml --field pr=<PR_NUMBER>
What happens
- GitHub Actions builds and publishes the PR as
0.0.0-pr-<PR_NUMBER>-sha-<SHORT_SHA> - The version is published to npm with the
canarytag - The PR body is updated with the exact version and install instructions
Version format
More from storybookjs/storybook
pr
Creates a pull request following Storybook conventions. Use when creating PRs, opening pull requests, or submitting changes for review.
11storybook-upgrade
Upgrade Storybook to a specific version (canary or release). Use this when upgrading Storybook packages in an external app, reproduction, or test project.
11github-qa-labels
Label GitHub issues and PRs found during QA testing. Use when organizing QA findings with proper labels.
7fix-linting-types-on-pr
Checks out a PR (including fork PRs), fixes all linting and TypeScript errors, then pushes the changes back. Use when asked to fix lint, types, or TS errors on a PR.
7docs-review
Review, improve, rewrite, author, or plan Storybook documentation in /docs. Use this when asked to review docs, improve a page, rewrite documentation, draft new docs, or advise on docs strategy.
5