This script automates the publishing of a new release on GitHub and runs npm deploy whenever the version number in package.json is changed.
It requires two secret tokens in the repo settings:
GH_TOKEN- a fine-grained token with read/write permissions forcontentandpull releases.NPM_TOKEN- a CI token from your NPM account.