From 4ba5eba1b9cd3f5c130753a03f47a143162ce0af Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Sun, 22 Oct 2023 10:05:25 +0100 Subject: [PATCH] chore: use Node 20 to build website on Netlify (#14633) --- netlify.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netlify.toml b/netlify.toml index caa16b8c50a4..e142b561b300 100644 --- a/netlify.toml +++ b/netlify.toml @@ -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