Skip to content

Commit 7f9f05b

Browse files
authored
Merge pull request materialsproject#735 from minhsueh/fix_github_actions
add --max-old-space-size=4096 to NODE_OPTIONS
2 parents c816635 + c30dcba commit 7f9f05b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/jest_tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
jobs:
99
test:
1010
runs-on: ubuntu-latest
11+
env:
12+
NODE_OPTIONS: --max-old-space-size=4096
1113
steps:
1214
- name: Generate build number
1315
id:
@@ -22,7 +24,7 @@ jobs:
2224
- name: Use Node.js
2325
uses: actions/setup-node@v1
2426
with:
25-
node-version: 15.x
27+
node-version: 12.x
2628
registry-url: https://registry.npmjs.org/
2729
scope: '@mat-github-ci'
2830
env:

0 commit comments

Comments
 (0)