mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 09:36:44 +00:00
build(benchmark): Fix docker image build (#10854)
This commit is contained in:
10
scripts/prepare.mjs
Normal file
10
scripts/prepare.mjs
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
import { execSync } from 'node:child_process';
|
||||
|
||||
// Skip lefthook install in CI or Docker build
|
||||
if (process.env.CI || process.env.DOCKER_BUILD) {
|
||||
process.exit(0);
|
||||
}
|
||||
|
||||
execSync('./node_modules/.bin/lefthook install', { stdio: 'inherit' });
|
||||
Reference in New Issue
Block a user