Skip to content

Commit

Permalink
Merge branch 'mumrah-patch-1'
Browse files Browse the repository at this point in the history
  • Loading branch information
mikepenz authored Jun 21, 2023
2 parents f2c94f6 + 2c25e4e commit baaeba6
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,30 @@ jobs:
</p>
</details>

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

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

```
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
```
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'
```

</p>
</details>

### Action outputs

After action execution it will return the test counts as output.
Expand Down

0 comments on commit baaeba6

Please sign in to comment.