From 00f027979349cda469c71a6bb7b5201e1bdc4e7b Mon Sep 17 00:00:00 2001 From: Paulo Pinto Date: Mon, 31 May 2021 18:15:11 +0100 Subject: [PATCH] Install composer dependencies before building yarn workspaces (#215) Composer dependencies appear to be required for the wporg-learn-2020 build to succeed. Without them, the build fails due to SASS files being erased. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9b5a8ec96..7142b43df 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "scripts": { "install:env": "./bin/index.sh", "install:githooks": "mv .git/hooks .git/hooks_orig && ln -s ../.githooks .git/hooks", - "create": "yarn workspaces run build && composer install && yarn run install:env", + "create": "composer install && yarn workspaces run build && yarn run install:env", "wp-env": "wp-env", "lint:php": "composer run lint", "format:php": "composer run format"