The [official documentation](https://help.github.com/en/actions/language-and-framework-guides/publishing-nodejs-packages#publishing-packages-to-the-npm-registry) suggests using `created` event, but it didn't work for us. As someone mentioned on [github community](https://github.community/t5/GitHub-Actions/Workflow-set-for-on-release-not-triggering-not-showing-up/m-p/53236#M8758), it looks like the `created` event is actually issued when release draft is first created. Try using [`published`](https://help.github.com/en/actions/reference/events-that-trigger-workflows#release-event-release) event instead.
This workflow is based on the Github Actions docs: [publishing node.js packages](https://help.github.com/en/actions/language-and-framework-guides/publishing-nodejs-packages) It should be triggered once we create a github release. It's unclear how to test this workflow, so I tried to re-use as much code from `publish_canary.yml` as possible.