Based off of utils/labeller
See: https://github.com/EFForg/https-everywhere/blob/master/utils/labeller/README.md
Utilizes https://www.npmjs.com/package/@vercel/ncc to offset node_modules reference burden
npm i -g @vercel/ncc
ncc build index.js -o distAt the time of writing this, the only way to test is to create a test PR and commit there with console logs from the job ran in Actions tab.
There is a tool that allegedly tests Github Actions locally, but it's not an official tool and very unstable: https://github.com/nektos/act