Skip to content

Commit

Permalink
fix: add '--max-old-space-size=4096' to github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
twoeths committed Oct 22, 2023
1 parent a669b4b commit a420c54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
key: perf-states-${{ hashFiles('packages/state-transition/test/perf/params.ts') }}

- name: Run benchmarks
run: yarn benchmark
run: NODE_OPTIONS='--max-old-space-size=4096' yarn benchmark
env:
# To download content for tests
INFURA_ETH2_CREDENTIALS: ${{ secrets.INFURA_ETH2_CREDENTIALS }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ jobs:
key: spec-test-data-${{ hashFiles('packages/validator/test/spec/params.ts') }}

- name: Unit tests
run: yarn test:unit
run: NODE_OPTIONS='--max-old-space-size=4096' yarn test:unit
- name: Upload coverage data
run: yarn coverage

Expand Down

0 comments on commit a420c54

Please sign in to comment.