dubzzz / fast-check

Property based testing framework for JavaScript (like QuickCheck) written in TypeScript
https://fast-check.dev/
MIT License
4.28k stars 178 forks source link

Prefer `node --run xxx` in CI #5152

Open dubzzz opened 1 month ago

dubzzz commented 1 month ago

💡 Idea

https://x.com/mattpocockuk/status/1814247057286189102?t=sXGiuZqoSeYFCSmJ5DGAiw&s=19

Requires Node 22

More at https://nodejs.org/docs/latest/api/cli.html#--run

dubzzz commented 1 month ago

Not feasible with yarn as we would need to use yarn node --run xxx which will probably not be faster than yarn run xxx. That said I don't know what's the cost of yarn run xxx vs npm run xxx.