mirror of https://github.com/facebook/jest.git
chore: use Node 20 to build website on Netlify (#14633)
This commit is contained in:
parent
bbf453a6a1
commit
4ba5eba1b9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue