mirror of
https://github.com/koel/koel
synced 2024-11-10 06:34:14 +00:00
Do not run yarn production post-install
This commit is contained in:
parent
1eb51ec9e2
commit
3edd800b4d
3 changed files with 3 additions and 2 deletions
|
@ -17,7 +17,8 @@ branches:
|
|||
install:
|
||||
- composer self-update
|
||||
- composer install --prefer-dist --no-interaction
|
||||
- cd resources/assets && yarn && cd ../.. && yarn
|
||||
- cd resources/assets && yarn
|
||||
- cd ../.. && yarn && yarn production
|
||||
|
||||
script:
|
||||
# Backend
|
||||
|
|
|
@ -246,6 +246,7 @@ class InitCommand extends Command
|
|||
chdir('../..');
|
||||
$this->info('└── Compiling assets');
|
||||
system('yarn');
|
||||
system('yarn production');
|
||||
}
|
||||
|
||||
/** @return array<string> */
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
"webpack-node-externals": "^1.6.0"
|
||||
},
|
||||
"scripts": {
|
||||
"postinstall": "yarn production",
|
||||
"dev": "yarn development",
|
||||
"development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
|
||||
"watch": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
|
||||
|
|
Loading…
Reference in a new issue