Skip to content

Commit

Permalink
chore: use Node 20 to build website on Netlify (#14633)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB authored Oct 22, 2023
1 parent bbf453a commit 4ba5eba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
publish = "/website/build"

[build.environment]
NODE_VERSION = "16"
NODE_VERSION = "20"
NODE_OPTIONS = "--max_old_space_size=4096"
# default cache
YARN_ENABLE_GLOBAL_CACHE = "true"
YARN_GLOBAL_FOLDER = "/opt/buildhome/.yarn_cache"
YARN_CACHE_FOLDER = "/opt/buildhome/.yarn_cache"
YARN_VERSION = "3.3.1"
YARN_VERSION = "3.6.4"

[context.production]
# Do not build the site if there's no site-related changes
Expand Down

0 comments on commit 4ba5eba

Please sign in to comment.