Skip to content

Commit b498664

Browse files
committed
update readme
1 parent 7e1d0bc commit b498664

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,10 @@ npm run test
7272
The js library will be built in `dist/nohost-sw.js`.
7373
NOTE: you can also use `npm run dev` to also start a web server for development.
7474

75+
### Publishing to npm
76+
77+
Inorder to publish the package to npm, do the following
78+
79+
1. run `npm run relese` and push changes to main branch.
80+
2. raise a pull request from `main` branch to `npm` branch. Once the pull request is merged
81+
and the code pushed to npm branch, GitHub actions will automatically publish the library to npm.

0 commit comments

Comments
 (0)