diff --git a/.github/workflows/docs-publish.yaml b/.github/workflows/docs-publish.yaml index 9eff7a1bfda..557e0a05bc1 100644 --- a/.github/workflows/docs-publish.yaml +++ b/.github/workflows/docs-publish.yaml @@ -10,8 +10,10 @@ on: jobs: build: - # This builds and uploads the documentation site, not SpacetimeDB binaries. - runs-on: spacetimedb-linux-small + # Docusaurus exceeds the small runner's roughly 2 GiB default Node heap. + runs-on: spacetimedb-linux + env: + NODE_OPTIONS: --max-old-space-size=8192 steps: - name: Checkout repository uses: actions/checkout@v3 diff --git a/.github/workflows/docs-update-llms.yaml b/.github/workflows/docs-update-llms.yaml index b1f5525b368..ebf61e77c40 100644 --- a/.github/workflows/docs-update-llms.yaml +++ b/.github/workflows/docs-update-llms.yaml @@ -14,8 +14,10 @@ on: jobs: update-llms: - # This builds documentation assets and updates one generated text file. - runs-on: spacetimedb-linux-small + # This runs the same memory-intensive Docusaurus build as docs publishing. + runs-on: spacetimedb-linux + env: + NODE_OPTIONS: --max-old-space-size=8192 steps: - name: Checkout repository uses: actions/checkout@v3