Please see PostHog Docs. Specifically, Node.js library details.
Just bump up version
in package.json
on the main branch and the new version will be published automatically.
It's advised to use bump patch/minor/major
label on PRs - that way the above will be done automatically
when the PR is merged.
Courtesy of GitHub Actions.
This library is largely based on the analytics-node
package.