From 52b3c01b2ea0e3455aa6484637015ad8bfce7b39 Mon Sep 17 00:00:00 2001 From: Aakash Singh <46787056+sainAk@users.noreply.github.com> Date: Mon, 30 May 2022 19:10:05 +0530 Subject: [PATCH] try to fix netlify (#2578) --- netlify.toml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/netlify.toml b/netlify.toml index dab3ae94fc7..255f427965e 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,6 +1,13 @@ [build] publish = "build/" -environment = { NPM_FLAGS = "--legacy-peer-deps" } +command = "CI='' yarn run build" + +[build.environment] +NETLIFY_USE_YARN = "true" +YARN_VERSION = "3.2.1" +YARN_FLAGS = "--immutable" +YARN_ENABLE_GLOBAL_CACHE = "true" +YARN_GLOBAL_FOLDER = "/opt/buildhome/.yarn_cache" [[redirects]] from = "/api/*"