chore: use Node 20 to build website on Netlify (#14633)

This commit is contained in:
Simen Bekkhus 2023-10-22 10:05:25 +01:00 committed by GitHub
parent bbf453a6a1
commit 4ba5eba1b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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