CI: reduce build memory to 2GB to prevent OOM on shared host
CI/CD / test-and-build (push) Failing after 2m33s Details
CI/CD / deploy (push) Has been skipped Details

This commit is contained in:
Jeff Emmett 2026-04-01 01:06:03 -07:00
parent e4908cfc11
commit ec4de41e31
1 changed files with 1 additions and 3 deletions

View File

@ -22,8 +22,6 @@ jobs:
- name: Install dependencies
run: npm ci --legacy-peer-deps --ignore-scripts
env:
NODE_OPTIONS: "--max-old-space-size=4096"
- name: Type check
run: npx tsc --noEmit
@ -37,7 +35,7 @@ jobs:
- name: Build
run: npx vite build
env:
NODE_OPTIONS: "--max-old-space-size=4096"
NODE_OPTIONS: "--max-old-space-size=2048"
deploy:
if: ${{ github.ref == 'refs/heads/main' && github.event_name == 'push' }}