Skip to content

Commit

Permalink
Install composer dependencies before building yarn workspaces (#215)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
psrpinto authored May 31, 2021
1 parent be6a0ad commit 00f0279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 00f0279

Please sign in to comment.