mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-03 08:53:36 +00:00
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:
3
.github/workflows/e2e-tests.yml
vendored
3
.github/workflows/e2e-tests.yml
vendored
@@ -33,7 +33,8 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
# Use npm install instead of npm ci to correctly resolve platform-specific
|
# Use npm install instead of npm ci to correctly resolve platform-specific
|
||||||
# optional dependencies (e.g., @tailwindcss/oxide, lightningcss binaries)
|
# 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
|
- name: Install Linux native bindings
|
||||||
# Workaround for npm optional dependencies bug (npm/cli#4828)
|
# Workaround for npm optional dependencies bug (npm/cli#4828)
|
||||||
|
|||||||
3
.github/workflows/pr-check.yml
vendored
3
.github/workflows/pr-check.yml
vendored
@@ -35,7 +35,8 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
# Use npm install instead of npm ci to correctly resolve platform-specific
|
# Use npm install instead of npm ci to correctly resolve platform-specific
|
||||||
# optional dependencies (e.g., @tailwindcss/oxide, lightningcss binaries)
|
# 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
|
- name: Install Linux native bindings
|
||||||
# Workaround for npm optional dependencies bug (npm/cli#4828)
|
# Workaround for npm optional dependencies bug (npm/cli#4828)
|
||||||
|
|||||||
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
@@ -32,7 +32,8 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
# Use npm install instead of npm ci to correctly resolve platform-specific
|
# Use npm install instead of npm ci to correctly resolve platform-specific
|
||||||
# optional dependencies (e.g., @tailwindcss/oxide, lightningcss binaries)
|
# 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
|
- name: Install Linux native bindings
|
||||||
# Workaround for npm optional dependencies bug (npm/cli#4828)
|
# Workaround for npm optional dependencies bug (npm/cli#4828)
|
||||||
|
|||||||
Reference in New Issue
Block a user