DEV: Run yarn install before db migrations in `d/boot_dev` (#20866)
Yarn dependencies need to be present before booting Rails
This commit is contained in:
parent
d3e5251704
commit
6415bab455
|
@ -110,6 +110,9 @@ if [ "${initialize}" = "initialize" ]; then
|
|||
echo "Installing gems..."
|
||||
"${SCRIPTPATH}/bundle" install
|
||||
|
||||
echo "Yarn install..."
|
||||
"${SCRIPTPATH}/exec" yarn install --cwd app/assets/javascripts/discourse
|
||||
|
||||
echo "Migrating database..."
|
||||
"${SCRIPTPATH}/rake" db:migrate
|
||||
RAILS_ENV=test "${SCRIPTPATH}/rake" db:migrate
|
||||
|
|
Loading…
Reference in New Issue