fix(create-medusa-app): run links sync during setup (#8215)

Run `links sync` command along with running migrations
This commit is contained in:
Shahed Nasser
2024-07-22 13:09:33 +03:00
committed by GitHub
parent fb29b958fa
commit ac21f35b2c
2 changed files with 2 additions and 2 deletions

View File

@@ -60,7 +60,7 @@ jobs:
working-directory: ../cli-test
- name: Run migrations
run: medusa migrations run
run: medusa migrations run && medusa links sync
working-directory: ../cli-test
- name: Create admin user

View File

@@ -138,7 +138,7 @@ export default async ({
await processManager.runProcess({
process: async () => {
const proc = await execute(
["npx medusa migrations run", npxOptions],
["npx medusa migrations run && npx medusa links sync", npxOptions],
{ verbose, needOutput: true }
)