setup-biome icon indicating copy to clipboard operation
setup-biome copied to clipboard

Suggestion: run with Bun

Open DaniGuardiola opened this issue 6 months ago • 0 comments

Bun is very fast, and it might speed this action up. It also requires no transpilation or bundling, it can run the ts files directly, so it should also help simplify this repo greatly. If building is still faster (which I doubt), then bun can do that too in a single command. Finally, given that the biome npm package is a thin wrapper over the Rust binary, it's unlikely to break. Because of this, I would suggest looking into this option for better speed :)

(I have not measured anything so I might be wrong!)

Edit: another advantage of this approach is that you'll be able to extract the version from bun's lockfile, since it'll be already installed.

DaniGuardiola avatar Jan 17 '24 20:01 DaniGuardiola