Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefer node --run xxx in CI #5152

Open
dubzzz opened this issue Jul 23, 2024 · 1 comment
Open

Prefer node --run xxx in CI #5152

dubzzz opened this issue Jul 23, 2024 · 1 comment

Comments

@dubzzz
Copy link
Owner

dubzzz commented Jul 23, 2024

💡 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 dubzzz changed the title Use node --run xxx in CI Prefer node --run xxx in CI Jul 23, 2024
@dubzzz
Copy link
Owner Author

dubzzz commented Jul 26, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant