Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Docusaurus beta, increase Netlify Nodejs memory #11516

Merged
merged 4 commits into from
Jun 3, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
base = "/"
command = "yarn workspace jest-website netlify:ci:production"
publish = "/website/build"
environment = { NODE_VERSION = "v14.17.0" }

[build.environment]
NODE_VERSION = "v14.17.0"
NODE_OPTIONS = "--max_old_space_size=4096"

[context.production]
# Do not build the site if there's no site-related changes
Expand Down
8 changes: 4 additions & 4 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
"netlify:crowdin": "yarn write-translations && yarn crowdin:upload && yarn crowdin:download"
},
"dependencies": {
"@docusaurus/core": "2.0.0-alpha.c32d8bd11",
"@docusaurus/plugin-client-redirects": "2.0.0-alpha.c32d8bd11",
"@docusaurus/plugin-pwa": "2.0.0-alpha.c32d8bd11",
"@docusaurus/preset-classic": "2.0.0-alpha.c32d8bd11",
"@docusaurus/core": "^2.0.0-beta.0",
"@docusaurus/plugin-client-redirects": "^2.0.0-beta.0",
"@docusaurus/plugin-pwa": "^2.0.0-beta.0",
"@docusaurus/preset-classic": "^2.0.0-beta.0",
"clsx": "^1.1.1",
"fs-extra": "^9.0.1",
"globby": "^11.0.1",
Expand Down
Loading