Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: CI/CD with TypeScript Instead of YAML (Open-Source) (pandaci.com)
4 points by AlfieJones 5 months ago | hide | past | favorite | 2 comments
I've always struggled with the various declarative syntaxes other CI/CD platforms use, especially when I just want to focus on shipping my projects.

The goal of PandaCI is enable you to code advanced workflows with little more than a quick example. I've found that by just having a few functions (job, exec, etc), everything else can be done natively in the language. A few such examples are:

- Conditional jobs — Use standard if statements - Matrix jobs — Just write a for loop - Code reuse — Create functions or import shared code - Parallel steps — Use Promise.all - API integrations — Native fetch or import npm packages

I'd love to hear any feedback (harsh or otherwise)! Personally, It's been a big upgrade for my projects and I'm excited to see what the community makes of it.

P.S. The core is language agnostic so let me know if there are any other languages you'd like to see.



Very cool, although I would probably prefer to use this inside of a GitHub runner instead of on your own platform.

I'm not sure but maybe git hub would let you sell this as an extension


Cheers! I was originally planning on going down that route but since my goals were to simplify workflows, having both a Githhub workflow and PandaCI file didn't sit well me.

I have been experimenting with running Github extensions inside PandaCI which could be a good way to make use of my new syntax without sacrificing the great resources Github workflows have to offer




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

Search: