Skip to content

Commit

Permalink
ci: set node memory limits on CircleCI (vitejs#3095)
Browse files Browse the repository at this point in the history
  • Loading branch information
nihalgonsalves authored and TobiasMelen committed May 3, 2021
1 parent 8c28b59 commit a8a22c3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .circleci/config.yml
Expand Up @@ -3,6 +3,10 @@ version: 2
defaults: &defaults
docker:
- image: vuejs/ci
environment:
# 4 GiB of RAM on the default medium class, so we set the max to 3.5 GiB
# https://circleci.com/docs/2.0/configuration-reference/#docker-executor
NODE_OPTIONS: --max-old-space-size=3584

step_restore_cache: &restore_cache
restore_cache:
Expand Down

0 comments on commit a8a22c3

Please sign in to comment.