ci: Add memory limits to match runner sizes (#17736)

This commit is contained in:
shortstacked
2025-07-28 11:49:22 +01:00
committed by GitHub
parent 9e3bfff68d
commit 23850a442d
3 changed files with 9 additions and 0 deletions

View File

@@ -14,6 +14,9 @@ on:
type: string
default: 22.x
env:
NODE_OPTIONS: --max-old-space-size=8192
jobs:
lint:
name: Lint

View File

@@ -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

View File

@@ -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