fix(ci): skip postinstall scripts to avoid OOM in all workflows

electron-builder install-app-deps rebuilds native modules and uses
too much memory, causing npm install to be killed (exit code 143).

Updated workflows:
- e2e-tests.yml
- test.yml
- pr-check.yml

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Kacper
2025-12-18 12:20:14 +01:00
parent c763f2a545
commit 899c45fc1b
3 changed files with 6 additions and 3 deletions

View File

@@ -32,7 +32,8 @@ jobs:
- name: Install dependencies
# Use npm install instead of npm ci to correctly resolve platform-specific
# optional dependencies (e.g., @tailwindcss/oxide, lightningcss binaries)
run: npm install
# Skip scripts to avoid electron-builder install-app-deps which uses too much memory
run: npm install --ignore-scripts
- name: Install Linux native bindings
# Workaround for npm optional dependencies bug (npm/cli#4828)