github/workflows: increase max old gc heap space size

This commit is contained in:
Patrik Oldsberg
2020-04-01 12:32:03 +02:00
parent 76a31384da
commit 3a104674db
4 changed files with 11 additions and 0 deletions
+4
View File
@@ -17,6 +17,10 @@ jobs:
os: [ubuntu-latest, windows-latest]
node-version: [12.x]
env:
CI: true
NODE_OPTIONS: --max-old-space-size=4096
name: Node ${{ matrix.node-version }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
+1
View File
@@ -14,6 +14,7 @@ jobs:
env:
CI: true
NODE_OPTIONS: --max-old-space-size=4096
BACKSTAGE_CACHE_DIR: <repoRoot>/.backstage-build-cache
BACKSTAGE_CACHE_MAX_ENTRIES: 2
+1
View File
@@ -14,6 +14,7 @@ jobs:
env:
CI: true
NODE_OPTIONS: --max-old-space-size=4096
BACKSTAGE_CACHE_DIR: <repoRoot>/.backstage-build-cache
BACKSTAGE_CACHE_MAX_ENTRIES: 2
+5
View File
@@ -16,6 +16,11 @@ jobs:
strategy:
matrix:
node-version: [12.x]
env:
CI: true
NODE_OPTIONS: --max-old-space-size=4096
steps:
- uses: actions/checkout@v2
- name: find location of global yarn cache