From 095a4f521bcc91d5dca336f0fb49d27f4bb9df6f Mon Sep 17 00:00:00 2001 From: ashkan Date: Tue, 24 Dec 2024 13:22:25 +0100 Subject: [PATCH] ci: optimize GitHub Actions workflow with memory settings --- .github/workflows/test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cb51848..ec38010 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,9 +21,13 @@ jobs: - name: Install dependencies run: npm ci + env: + NODE_OPTIONS: "--max-old-space-size=4096" - name: Run tests run: npm test + env: + NODE_OPTIONS: "--max-old-space-size=4096" - name: Upload test results if: always()