mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-01-30 06:12:03 +00:00
fix(ci): rebuild node-pty after install to fix native module errors
The --ignore-scripts flag also skips building native modules like node-pty which the server needs. Added explicit rebuild step for node-pty in test.yml and e2e-tests.yml workflows. This is more targeted than electron-builder install-app-deps which rebuilds ALL native modules and causes OOM. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@@ -43,6 +43,12 @@ jobs:
|
||||
@rollup/rollup-linux-x64-gnu@4.53.3 \
|
||||
@tailwindcss/oxide-linux-x64-gnu@4.1.17
|
||||
|
||||
- name: Rebuild native modules
|
||||
# Rebuild node-pty and other native modules needed for server
|
||||
# This is separate from electron-builder install-app-deps to avoid OOM
|
||||
run: npm rebuild node-pty
|
||||
working-directory: apps/server
|
||||
|
||||
- name: Run server tests with coverage
|
||||
run: npm run test:server:coverage
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user