Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The code is written in typescript. So we go from

    * cloning the action 
    * running the dist/index.js
to

    * Cloning the action
    * npm install
    * npm compile
    * npm run


You can run TypeScript natively in Node.js 24, actions based on that runtime don’t need a build step.

https://bsky.app/profile/danielroe.dev/post/3lxczp5apec2x


I think it just ignores types, so may not suit all use cases.


It has a (albeit experimental) flag for transforming enums, namespaces and other runtime-impacting aspects of TypeScript, if that’s what you were referring to?

https://nodejs.org/api/cli.html#--experimental-transform-typ...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: