NomicFoundation / hardhat

Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software.
https://hardhat.org
Other
7.15k stars 1.37k forks source link

CI detection #5337

Closed alcuadrado closed 3 months ago

alcuadrado commented 3 months ago

I'm creating this issue as a response to this comment.

I think we should add a ci module to hardhat-utils that exports a single const, isCI, whose behavior can be based on what's described here.

Then we can use that to enable stack traces by default in v-next/hardhat/src/internal/cli/main.ts when running on a CI.