I really appreciate github's actions, and it's imho better, if similar, than Azure's new pipeline .yaml format. Will probably migrate some of my npm packages from travis.
In case anyone is doing a publish to npm proper…
https://gist.github.com/tracker1/fdd5ceab8f532afc3a05ab9c0bddebc1