Skip to content

Commit

Permalink
try to fix netlify (ohcnetwork#2578)
Browse files Browse the repository at this point in the history
  • Loading branch information
sainak authored May 30, 2022
1 parent 5f13df6 commit 52b3c01
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
@@ -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/*"
Expand Down

0 comments on commit 52b3c01

Please sign in to comment.