diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8fe94511..8155e0cd 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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. + +### Publish to npm