Settings

Theme

Local-First and Portable CI

prefix.dev

10 points by synparb a month ago · 8 comments

Reader

samuell a month ago

Optimizing for local-first checking is 100% the way to go, and should be used much more widely I think.

I have done a similar thing using simple makefiles though, collecting more complex chains of tasks into a "meta rule" in Make and just calling that from whatever CI config we're using.

  • MeltedVoltage a month ago

    I have also slowly transitioned into something similar - using justfiles instead of make. I have `just prerequisites`, `just lint`, `just build` in all of my projects. pixie's lockfile might be the most interesting part.

    • mgrandl a month ago

      Look into mise. It’s basically just, but it also installs runtimes/build deps for you. It also has lockfiles.

    • nigels-com a month ago

      Went all in on just in a previous role. All the Jenksfile shrunk to manageable complexity, except the not just ones.

  • mgrandl a month ago

    Same but using mise. It is so nice to define all runtime/build time dependencies for both dev and production builds in one place and then have a task runner that builds everything for you!

cyberclimb a month ago

Is there any way to cache the dependency installation step on github actions for example?

I supposed you could cache whatever directory it installs to? Would be great to see an example

jiehong a month ago

Dagger seems more fit, but more complex for sure.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection