chore: install optional dependencies (required for swc) (#335)

* chore: install optional dependencies (required for swc)

* Use install script in Makefile

* add trailing newline
This commit is contained in:
Jonathan Yu 2022-02-20 11:52:14 -08:00 committed by GitHub
parent 8f843d2364
commit 3c04c7f3e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 5 deletions

View File

@ -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
.PHONY: site/out

View File

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