Create a seperate no dev composer install command

This commit is contained in:
roykho 2021-11-17 11:32:53 -08:00
parent 008f2cbea9
commit 79ee6c00f5
No known key found for this signature in database
GPG Key ID: 7B36C0EA25795714
2 changed files with 11 additions and 2 deletions

View File

@ -28,7 +28,7 @@ jobs:
run: |
npm install -g pnpm
pnpm install
pnpm nx composer-install --args="--flag=--no-dev" woocommerce
pnpm nx composer-install-no-dev" woocommerce
pnpm nx build-assets woocommerce
pnpm install jest

View File

@ -7,7 +7,16 @@
"executor": "@nrwl/workspace:run-commands",
"options": {
"commands": [
"composer install {args.flag}"
"composer install"
],
"cwd": "plugins/woocommerce"
}
},
"composer-install-no-dev": {
"executor": "@nrwl/workspace:run-commands",
"options": {
"commands": [
"composer install --no-dev"
],
"cwd": "plugins/woocommerce"
}