diff --git a/.github/scripts/setup.js b/.github/scripts/setup.js index 42edcdd2ee..f0558b298d 100644 --- a/.github/scripts/setup.js +++ b/.github/scripts/setup.js @@ -119,7 +119,11 @@ async function runAndStream(command, args, options) { console.log(chalk.blue(`Running knex-migrator init`)); await runAndStream('yarn', ['knex-migrator', 'init'], {cwd: coreFolder}); - + if (process.argv.includes('--no-seed')) { + console.log(chalk.yellow(`Skipping seed data`)); + console.log(chalk.yellow(`Done`)); + return; + } if (resetData) { const xxl = process.argv.includes('--xxl');