Skip to content

Commit

Permalink
ci(lint): increase max-old-space-size to solve OOM
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Jun 2, 2022
1 parent f399f8b commit a9d195a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test-all-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ jobs:
run: yarn lint:format
# eslint
- name: yarn lint primary
env:
# prevent OOM in CI
NODE_OPTIONS: '--max-old-space-size=8192'
# run on packages that use roughly half the time
run: yarn lerna run --scope=@agoric/{cosmos,ertp,governance,run-protocol,swing-store,swingset-vat,web-components,vats,wallet,zoe} --no-bail lint

Expand All @@ -55,6 +58,9 @@ jobs:
node-version: '16.x'

- name: yarn lint rest
env:
# prevent OOM in CI
NODE_OPTIONS: '--max-old-space-size=8192'
# invert selection of lint-primary (--ignore instead of --scope)
run: yarn lerna run --ignore=@agoric/{cosmos,ertp,governance,run-protocol,swing-store,swingset-vat,web-components,vats,wallet,zoe} --no-bail lint

Expand Down

0 comments on commit a9d195a

Please sign in to comment.