Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New prerelease structure / upgrade to SB7 #210

Merged
merged 10 commits into from
Oct 22, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ Storybook test runner turns all of your stories into executable tests.
- [Adding the test runner to other CI environments](#adding-the-test-runner-to-other-ci-environments)
- [Merging test coverage results in wrong coverage](#merging-test-coverage-results-in-wrong-coverage)
- [Future work](#future-work)
- [Contributing](#contributing)
- [Branch/release structure](#branchrelease-structure)

## Features

Expand Down Expand Up @@ -600,3 +602,17 @@ Future plans involve adding support for the following features:

- 📄 Run addon reports
- ⚙️ Spawning Storybook via the test runner in a single command

---

## Contributing

We welcome contributions to the test runner!

### Branch/release structure

shilman marked this conversation as resolved.
Show resolved Hide resolved
1. All PRs should target the `next` branch, which depends on the `next` version of Storybook.
2. When merged, a new version of this package will be released on the `next` NPM tag.
3. If the change contains a bugfix that needs to be patched back to the stable version, please note that in PR description.
4. PRs labeled `pick` will get cherry-picked back to the `main-prerelease` branch and will generate a release on the `prerelease` npm tag.
5. Once valided, `prerelease` PRs will get merged back to the `main` branch, which will generate a release on the `latest` npm tag.
shilman marked this conversation as resolved.
Show resolved Hide resolved
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@
"@babel/types": "^7.14.8",
"@jest/types": "^28.1.3",
"@storybook/addon-coverage": "^0.0.1",
"@storybook/addon-essentials": "^6.5.0",
"@storybook/addon-interactions": "^6.5.0",
"@storybook/addon-essentials": "next",
"@storybook/addon-interactions": "next",
"@storybook/jest": "^0.0.10",
"@storybook/react": "^6.5.0",
"@storybook/testing-library": "^0.0.11",
"@storybook/react": "next",
"@storybook/testing-library": "next",
"@storybook/testing-react": "^1.2.4",
"@testing-library/dom": "^8.1.0",
"@testing-library/react": "^12.0.0",
Expand Down Expand Up @@ -109,10 +109,10 @@
"@babel/preset-env": "^7.18.10",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@storybook/core-common": "^6.5.0",
"@storybook/core-common": "next",
"@storybook/csf": "0.0.2--canary.4566f4d.1",
"@storybook/csf-tools": "^6.5.0",
"@storybook/store": "^6.5.0",
"@storybook/csf-tools": "next",
"@storybook/store": "next",
"can-bind-to-host": "^1.1.1",
"commander": "^9.0.0",
"expect-playwright": "^0.8.0",
Expand All @@ -132,6 +132,7 @@
"ts-dedent": "^2.0.0"
},
"auto": {
"prereleaseBranches": ["next", "main-prerelease"],
"plugins": [
"npm",
"released"
Expand Down
Loading