-
Notifications
You must be signed in to change notification settings - Fork 190
Document release process in CONTRIBUTING.md #935
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -60,3 +60,23 @@ npm run test:visual:update | |
| ``` | ||
|
|
||
| Visual testing via snapshots is supported by Playwright. To update or create new snapshots, run this command. | ||
|
|
||
| ## How to release? | ||
|
|
||
| ### Build library and tag version | ||
|
|
||
| ```sh | ||
| npm version minor | ||
| git push origin master | ||
| git push --tags | ||
| ``` | ||
|
|
||
|
|
||
|
|
||
| Wait for the automatic build to finish. | ||
|
|
||
| Edit the release changelog on GitHub. | ||
|
|
||
| An index.html file should be added automatically to the release assets by GitHub Action. | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. An |
||
|
|
||
| ### Publish to npm | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. npm run build-lib
npm publishUpdate the codesandboxes demos at https://stackblitz.com/edit/pev2-vanilla and https://stackblitz.com/edit/pev2-vite |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please keep only one blank line.