5 ms·
What are you doing that requires checking in the compiled version. Esbuild takes like one second
by STRiDEX 1y ago
What are you doing that requires checking in the compiled version. Esbuild takes like one second
- OptionOfT 1y agoThe 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
- franky47 1y agoYou 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 https://bsky.app/profile/danielroe.dev/post/3lxczp5apec2x
- matt-p 1y agoI think it just ignores types, so may not suit all use cases.
- franky47 1y agoIt 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-types https://nodejs.org/api/cli.html#--experimental-transform-typ...