Skip to content

Commit

Permalink
- move into expandable block
Browse files Browse the repository at this point in the history
  • Loading branch information
mikepenz authored Jun 21, 2023
1 parent a21b7cf commit 2c25e4e
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ jobs:
</p>
</details>

<details><summary><b>Increase Node Heap Memory</b></summary>
<p>

If you encounter an out-of-memory from Node, such as

```
Expand All @@ -114,15 +117,18 @@ FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaS
you can increase the memory allocation by setting an environment variable
```yaml
- name: Publish Test Report
uses: mikepenz/action-junit-report@v3
env:
NODE_OPTIONS: "--max_old_space_size=4096"
if: success() || failure() # always run even if the previous step fails
with:
report_paths: '**/build/test-results/test/TEST-*.xml'
```
- name: Publish Test Report
uses: mikepenz/action-junit-report@v3
env:
NODE_OPTIONS: "--max_old_space_size=4096"
if: success() || failure() # always run even if the previous step fails
with:
report_paths: '**/build/test-results/test/TEST-*.xml'
```

</p>
</details>

### Action outputs

Expand Down

0 comments on commit 2c25e4e

Please sign in to comment.