[CodeQL] Added max-old-space-size for CodeQL workflow (#192192)

## Summary

Added `--max-old-space-size=6144` to increase the maximum heap memory
size for the workflow run.

__Fixes: https://github.com/elastic/kibana/issues/192190__
This commit is contained in:
Elena Shostak 2024-09-05 17:05:53 +02:00 committed by GitHub
parent dfd85051cf
commit 270b9aec0d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,7 +42,7 @@ jobs:
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@883d8588e56d1753a8a58c1c86e88976f0c23449 # v3.26.3
# env:
# NODE_OPTIONS: "--max-old-space-size=6144"
env:
NODE_OPTIONS: "--max-old-space-size=6144"
with:
category: "/language:${{matrix.language}}"