diff --git a/Makefile b/Makefile index 388eb44b6f434..981c9c4846012 100644 --- a/Makefile +++ b/Makefile @@ -87,7 +87,7 @@ provisionersdk/proto: provisionersdk/proto/provisioner.proto .PHONY: provisionersdk/proto site/out: - cd site && yarn install + ./scripts/yarn_install.sh cd site && yarn build cd site && yarn export -.PHONY: site/out \ No newline at end of file +.PHONY: site/out diff --git a/scripts/yarn_install.sh b/scripts/yarn_install.sh index 6cccda2dd5cd3..bb83707661b0d 100755 --- a/scripts/yarn_install.sh +++ b/scripts/yarn_install.sh @@ -18,9 +18,6 @@ yarn_flags=( # Check if existing node_modules are valid # TODO: determine if this is necessary # --check-files - - # Do not install optional dependencies - --ignore-optional ) if [ -n "${CI:-}" ]; then