This workflow does, in the following order:
- install your packages
- run the
lintcommand - run the
testcommand - publishes the package with the version defined in the release tag
- publishes the new version code on github (updates the package.json to match the latest tag)
It will only trigger the deploy phase on the master branch when there's the release tag present. Otherwise it will just build and test your files.