Both of the .cts and .mts flavors. Because this action is written in CommonJS both have to compile to CommonJS in order to execute.
As it is TypeScript there's already an expectation of some slowness, so I went with the approach of running the script via the node VM module. While a cleaner approach, it has the caveat that root level await in the script doesn't work. That should become available if https://github.com/actions/github-script/issues/457 is completed.
`fn.name` was introduced in Node 0.10.0, so this improves test suite maintainability without changing the minimum node version.
Also added a test that for certain proves that Promises can be awaited.