Fix CI build failures on self-hosted runners
Some checks failed
Lint and Build / build (pull_request) Failing after 4m19s

- Move bufferutil to optionalDependencies (not required for core functionality)
- Add --no-optional flag to npm ci in workflow to skip native dependencies
- This avoids needing C++ build tools on CI runners

The bufferutil package is a performance optimization for WebSocket but not required.

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Decobus 2025-07-20 00:43:45 -04:00
parent b9fa9f11b0
commit a16bdcc7b9
2 changed files with 4 additions and 2 deletions

View file

@ -19,7 +19,7 @@ jobs:
run: rm -rf .next
- name: Install dependencies
run: npm ci
run: npm ci --no-optional
- name: Run type check
run: npm run type-check