nightwatchjs / create-nightwatch

Nightwatch.js init command tool to setup everything up in no time using `npm init nightwatch`
https://nightwatchjs.org
4 stars 13 forks source link

Auto-publish package to NPM on new tag push. #55

Closed garg3133 closed 1 year ago

garg3133 commented 2 years ago

Fixes: #28

During auto-publish on GitHub Action, the ts files are transpiled to dist directory, which will be pushed to NPM and used in our users' systems.

Tested this workflow by creating a new package create-nightwatch-test using another id. Test workflow run can be found here.

Note: We also need to generate and save the NPM Access Token as a Repository Secret in this repository, like shown here.