mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-01-31 06:42:03 +00:00
fix: resolve CI OOM by fixing bloated package-lock.json
The package-lock.json was incorrectly regenerated with 1170 entries instead of 452 (2.5x bloat) when cross-spawn was added to root. This caused npm install to run out of memory on GitHub Actions. - Remove unnecessary cross-spawn from root package.json - Restore package-lock.json to proper workspace structure - Remove NODE_OPTIONS workaround from workflow files 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
5
.github/workflows/e2e-tests.yml
vendored
5
.github/workflows/e2e-tests.yml
vendored
@@ -33,10 +33,7 @@ jobs:
|
||||
- name: Install dependencies
|
||||
# Use npm install instead of npm ci to correctly resolve platform-specific
|
||||
# optional dependencies (e.g., @tailwindcss/oxide, lightningcss binaries)
|
||||
# Increase Node memory limit to prevent OOM during install
|
||||
run: npm install --prefer-offline
|
||||
env:
|
||||
NODE_OPTIONS: --max_old_space_size=6144
|
||||
run: npm install
|
||||
|
||||
- name: Install Linux native bindings
|
||||
# Workaround for npm optional dependencies bug (npm/cli#4828)
|
||||
|
||||
5
.github/workflows/pr-check.yml
vendored
5
.github/workflows/pr-check.yml
vendored
@@ -32,10 +32,7 @@ jobs:
|
||||
- name: Install dependencies
|
||||
# Use npm install instead of npm ci to correctly resolve platform-specific
|
||||
# optional dependencies (e.g., @tailwindcss/oxide, lightningcss binaries)
|
||||
# Increase Node memory limit to prevent OOM during install
|
||||
run: npm install --prefer-offline
|
||||
env:
|
||||
NODE_OPTIONS: --max_old_space_size=6144
|
||||
run: npm install
|
||||
|
||||
- name: Install Linux native bindings
|
||||
# Workaround for npm optional dependencies bug (npm/cli#4828)
|
||||
|
||||
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@@ -51,10 +51,7 @@ jobs:
|
||||
- name: Install dependencies
|
||||
# Use npm install instead of npm ci to correctly resolve platform-specific
|
||||
# optional dependencies (e.g., @tailwindcss/oxide, lightningcss binaries)
|
||||
# Increase Node memory limit to prevent OOM during install
|
||||
run: npm install --prefer-offline
|
||||
env:
|
||||
NODE_OPTIONS: --max_old_space_size=6144
|
||||
run: npm install
|
||||
|
||||
- name: Install Linux native bindings
|
||||
# Workaround for npm optional dependencies bug (npm/cli#4828)
|
||||
|
||||
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
@@ -32,10 +32,7 @@ jobs:
|
||||
- name: Install dependencies
|
||||
# Use npm install instead of npm ci to correctly resolve platform-specific
|
||||
# optional dependencies (e.g., @tailwindcss/oxide, lightningcss binaries)
|
||||
# Increase Node memory limit to prevent OOM during install
|
||||
run: npm install --prefer-offline
|
||||
env:
|
||||
NODE_OPTIONS: --max_old_space_size=6144
|
||||
run: npm install
|
||||
|
||||
- name: Install Linux native bindings
|
||||
# Workaround for npm optional dependencies bug (npm/cli#4828)
|
||||
|
||||
22606
package-lock.json
generated
22606
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -29,8 +29,5 @@
|
||||
"test:headed": "npm run test:headed --workspace=apps/app",
|
||||
"test:server": "npm run test --workspace=apps/server",
|
||||
"test:server:coverage": "npm run test:cov --workspace=apps/server"
|
||||
},
|
||||
"dependencies": {
|
||||
"cross-spawn": "^7.0.6"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user