Skip to content

Commit

Permalink
Add "max-old-space-size" option to GH Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki committed Oct 5, 2022
1 parent 25ea495 commit e249152
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,16 @@ jobs:
run: npm ci

- name: Type check
env:
NODE_OPTIONS: "--max-old-space-size=8192"
run: npm run type-check

- name: Run lint
run: npm run lint

- name: Build package
env:
NODE_OPTIONS: "--max-old-space-size=8192"
run: npm run build

# TODO: coverage
Expand All @@ -66,4 +72,4 @@ jobs:
fail_ci_if_error: true
files: coverage/clover.xml
flags: unittests
verbose: true
verbose: true

0 comments on commit e249152

Please sign in to comment.