chore: fix composer install in build script

#287
pull/293/head
sualko 2024-09-18 21:22:10 +02:00
parent 08c0503002
commit 8b7f726c2b
1 changed files with 5 additions and 3 deletions

View File

@ -70,13 +70,15 @@ async function createRelease(appId) {
const execa = (await import('execa')).execaCommand;
await execa('yarn', ['composer:install:dev']);
const composerDev = await execa('composer install');
console.log(composerDev.stdout, composerDev.stderr);
console.log('✔ composer dev dependencies installed'.green);
await execa('yarn', ['lint']);
console.log('✔ linters are happy'.green);
await execa('yarn', ['composer:install']);
const composerNoDev = await execa('composer install --no-dev');
console.log(composerNoDev.stdout, composerNoDev.stderr);
console.log('✔ composer dependencies installed'.green);
await execa('yarn', ['build']);
@ -89,7 +91,7 @@ async function createRelease(appId) {
await createGPGSignature(filePath);
await createGPGArmorSignature(filePath);
await execa('yarn', ['composer:install:dev']);
await execa('composer install');
console.log('✔ composer dev dependencies installed'.green);
}