From 23850a442d0cc5828f47560be75ba166ec2403b6 Mon Sep 17 00:00:00 2001 From: shortstacked Date: Mon, 28 Jul 2025 11:49:22 +0100 Subject: [PATCH] ci: Add memory limits to match runner sizes (#17736) --- .github/workflows/linting-reusable.yml | 3 +++ .github/workflows/test-workflows-callable.yml | 3 +++ .github/workflows/units-tests-reusable.yml | 3 +++ 3 files changed, 9 insertions(+) diff --git a/.github/workflows/linting-reusable.yml b/.github/workflows/linting-reusable.yml index 5d2982ba88b..d7322df5d8f 100644 --- a/.github/workflows/linting-reusable.yml +++ b/.github/workflows/linting-reusable.yml @@ -14,6 +14,9 @@ on: type: string default: 22.x +env: + NODE_OPTIONS: --max-old-space-size=8192 + jobs: lint: name: Lint diff --git a/.github/workflows/test-workflows-callable.yml b/.github/workflows/test-workflows-callable.yml index 6959d2f370d..a9e250252d0 100644 --- a/.github/workflows/test-workflows-callable.yml +++ b/.github/workflows/test-workflows-callable.yml @@ -28,6 +28,9 @@ on: description: 'Webhook URL to send test results to (if enabled).' required: false +env: + NODE_OPTIONS: --max-old-space-size=4096 + jobs: build_and_test: name: Install, Build, and Test Workflows diff --git a/.github/workflows/units-tests-reusable.yml b/.github/workflows/units-tests-reusable.yml index f1cfb4b9441..dcdf4a1a7da 100644 --- a/.github/workflows/units-tests-reusable.yml +++ b/.github/workflows/units-tests-reusable.yml @@ -22,6 +22,9 @@ on: description: 'Codecov upload token.' required: false +env: + NODE_OPTIONS: --max-old-space-size=8192 + jobs: unit-test: name: Unit tests