Skip to content

Commit

Permalink
Ignore husky in CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjhuang committed Dec 12, 2024
1 parent 0867330 commit b955fa4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .husky/install.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// Skip Husky install in production and CI
if (process.env.NODE_ENV === 'production' || process.env.CI === 'true') {
process.exit(0);
}
const husky = (await import('husky')).default;
console.log(husky());

0 comments on commit b955fa4

Please sign in to comment.