Skip to content

Commit

Permalink
chore: fix docs deployment (#3044)
Browse files Browse the repository at this point in the history
* Increase max old space size

* Reduce max free space to 4096

* No need to expand memory on docs test

* Increase headroom

Testing shows that the docs generation uses about 3.9GB so a bit of
headroom seems like a good idea
  • Loading branch information
dyladan authored Aug 6, 2022
1 parent ddd0c6b commit 0c13343
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ jobs:
- name: Build Docs
run: npm run docs
env:
NODE_OPTIONS: --max-old-space-size=6144

- name: Deploy Documentation 🚀
uses: JamesIves/github-pages-deploy-action@releases/v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,5 @@ jobs:
- name: Lint doc files
run: |
npm run compile
NODE_OPTIONS=--max-old-space-size=4096 npm run docs
NODE_OPTIONS=--max-old-space-size=6144 npm run docs
npm run docs:test

0 comments on commit 0c13343

Please sign in to comment.