1 // See: https://typicode.github.io/husky/how-to.html#ci-server-and-docker
3 // Do not initialize Husky in CI environments. GitHub Actions set the CI env variable automatically.
4 // See: https://docs.github.com/en/actions/learn-github-actions/variables#default-environment-variables
5 if (process.env.CI === 'true') {
9 // Initialize Husky programmatically.
10 const husky = (await import('husky')).default;