diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d16c36ab..fdb3784c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,7 +44,7 @@ jobs: - name: Build run: npm run build env: - NODE_OPTIONS: --max-old-space-size=6144 + NODE_OPTIONS: --max-old-space-size=12288 # As an interim step in lieu of https://github.com/pantsbuild/pantsbuild.org/issues/28, upload # the build result so someone can download and view it, without having to run the build diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 02ebaf68..5e108146 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -52,7 +52,7 @@ jobs: - run: yarn install --frozen-lockfile - run: npm run build env: - NODE_OPTIONS: --max-old-space-size=6144 + NODE_OPTIONS: --max-old-space-size=12288 - name: Setup Pages uses: actions/configure-pages@v3 diff --git a/README.md b/README.md index fec8f987..f79fa66c 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ PANTSBUILD_ORG_INCLUDE_VERSIONS=$version1,$version2 npm start To build the site, run: ```bash -NODE_OPTIONS="--max-old-space-size=6144" npm run build +NODE_OPTIONS="--max-old-space-size=12288" npm run build ``` (Note: Node needs more than the default amount of RAM because this site is beefy)