God, Love, News, Event, Entertainment, Amebo,..... All about Bringing out the best in you...
Show HN: Write Github Actions Workflows in Typescript Rather Than YAML https://ift.tt/5KOSXHu
Show HN: Write Github Actions Workflows in Typescript Rather Than YAML Hey HN, I just released github-actions-workflow-ts, an NPM package that allows you to write GitHub Actions workflows in Typescript rather than YAML. The package then generates GH Actions workflow YAML files from your Typescript code. Why? - Type safety - Code re-usability: package and reuse common jobs and steps across different workflows. - Imperative edge: Utilize control flow to control the generation of different kinds of workflows easily. Essentially, I realized that as I write larger and more complicated GH Actions workflows in YAML, they become less readable and thus more prone to errors and harder to maintain/refactor. You can try it out on Replit (free but requires an account to fork my examples and run them yourself). Fork it and run the build command in the shell: - Simple Example: https://ift.tt/qvNAXZb... - Advanced Example: https://ift.tt/qvNAXZb... Read the accompanying blog post here: https://ift.tt/EjmMCog... Please check it out. I'm open to any feedback as I march towards the first stable 1.0.0 release. Thanks https://ift.tt/cxIBHN4 August 30, 2023 at 02:56AM
Subscribe to:
Post Comments (Atom)
Show HN: Claudoro, Pomodoro timer embedded in the Claude Code statusline https://ift.tt/Kp5WXI1
Show HN: Claudoro, Pomodoro timer embedded in the Claude Code statusline 3 weeks ago I had a nasty accident and fractured my vertebrae. As I...
-
submitted by /u/Dull_Tonight [link] [comments] source https://www.reddit.com/r/worldnews/comments/pehy48/housing_secretary_robert_je...
-
Show HN: Lindra – generate browser agents to automate any website Hi HN, We’re one month into building Lindra, a platform that turns any web...
-
Show HN: High-precision date/time in SQLite https://ift.tt/hEvedVC August 12, 2024 at 03:47AM
No comments:
Post a Comment