mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 01:26:44 +00:00
chore: Remove pnpm package from setup phase and update corepack installation command
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
[phases.setup]
|
||||
nixPkgs = ["nodejs_22", "pnpm-9_x", "openssl", "chromium"]
|
||||
nixPkgs = ["nodejs_22", "openssl", "chromium"]
|
||||
aptPkgs = ["ffmpeg", "libnss3", "libatk1.0-0", "libatk-bridge2.0-0", "libcups2", "libgbm1", "libasound2t64", "libpangocairo-1.0-0", "libxss1", "libgtk-3-0", "libxshmfence1", "libglu1"]
|
||||
|
||||
[phases.install]
|
||||
cmds = [
|
||||
"npm install -g corepack@0.24.1 && corepack enable",
|
||||
"npm install -g corepack@latest && corepack enable",
|
||||
"pnpm i --frozen-lockfile",
|
||||
"export PATH=/usr/bin:/bin:$PATH"
|
||||
]
|
||||
@@ -14,7 +14,6 @@ cmds = ["npx turbo run build"]
|
||||
|
||||
[phases.post-build]
|
||||
cmds = [
|
||||
"cd packages/cli && pnpm add ytdl-core youtube-dl-exec yt-search ytsr moment",
|
||||
"which ffmpeg || echo 'ffmpeg not found in PATH'",
|
||||
"ffmpeg -version || echo 'ffmpeg command failed'"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user