Cannabis Freedom Index

Changelog cae4a41tree, with Claude Opus 5.5

Deploy: give the site build an 8 GB heap

The build after the seven new places ran out of memory while generating pages, at Node's default heap of about 4 GB; the public GitHub runner has 16 GB.

1 file of code, design or docs +3 −0 lines

Code, design and documents 1 file

.github/workflows/deploy.yml +3 −0
@@ -48,8 +48,11 @@ jobs:
       # The site URL and sub-path come from the repository's Pages settings, so the
       # same build works for user.github.io/repo and for a custom domain.
+      # Generating every page outgrew Node's default 4 GB heap (November 2026); the public
+      # runner has 16 GB.
       - run: npm run build
         env:
           SITE: ${{ steps.pages.outputs.origin }}
           BASE_PATH: ${{ steps.pages.outputs.base_path }}
+          NODE_OPTIONS: --max-old-space-size=8192
       # what search engines and link previews read: sitemap coverage, canonical addresses,
       # descriptions, og:images that exist, JSON-LD and internal links (scripts/seo-audit.mjs)

    ↑↓ to move, ↵ to open.