From 7ee6e16b808e82cb62dc82abc20adf09ce63d56a Mon Sep 17 00:00:00 2001 From: "n8n-cat-bot[bot]" <283985454+n8n-cat-bot[bot]@users.noreply.github.com> Date: Thu, 28 May 2026 19:56:27 +0000 Subject: [PATCH] chore: Drop redundant local-gateway electron postinstall and CI ski... (#31315) Co-authored-by: n8n-cat-bot[bot] --- .github/actions/setup-nodejs/action.yml | 4 ---- packages/@n8n/local-gateway/package.json | 3 +-- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/actions/setup-nodejs/action.yml b/.github/actions/setup-nodejs/action.yml index 57b55d3e919..c0443cde41c 100644 --- a/.github/actions/setup-nodejs/action.yml +++ b/.github/actions/setup-nodejs/action.yml @@ -135,10 +135,6 @@ runs: INSTALL_LOG: ${{ runner.temp }}/pnpm-install.log SAFE_CHAIN_LOGGING: verbose DEBUG: pnpm:* - # Skip the Electron binary download triggered by @n8n/local-gateway's - # postinstall. CI never runs the Electron app, but the ~150MB binary - # fetch fires on every install otherwise. - ELECTRON_SKIP_BINARY_DOWNLOAD: 1 run: | set +o pipefail timeout --kill-after=30s 300s $INSTALL_COMMAND \ diff --git a/packages/@n8n/local-gateway/package.json b/packages/@n8n/local-gateway/package.json index 80c8ae9515e..c02234fed31 100644 --- a/packages/@n8n/local-gateway/package.json +++ b/packages/@n8n/local-gateway/package.json @@ -19,8 +19,7 @@ "clean": "rimraf dist out .turbo", "test": "jest", "test:unit": "jest", - "test:dev": "jest --watch", - "postinstall": "node node_modules/electron/install.js" + "test:dev": "jest --watch" }, "dependencies": { "@n8n/computer-use": "workspace:*",