mirror of
https://github.com/actions/github-script.git
synced 2026-04-07 22:50:04 +00:00
feat: Add support for TypeScript scripts
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.
This commit is contained in:
parent
ccf1a8e117
commit
d3f9a3b3fb
9 changed files with 178341 additions and 15 deletions
178044
dist/index.js
vendored
178044
dist/index.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue