From 65bf6e4fce31e36fe68650bd7f6247f1d11d0a0f Mon Sep 17 00:00:00 2001 From: Oli Juhl <59018053+olivermrbl@users.noreply.github.com> Date: Wed, 15 Jan 2025 12:21:19 -0500 Subject: [PATCH] chore: Use local CLI version in CI (#10982) * chore: Use local CLI version in CI * Update test-cli-with-database.yml --- .github/workflows/test-cli-with-database.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test-cli-with-database.yml b/.github/workflows/test-cli-with-database.yml index 07080d0b91..e52808e765 100644 --- a/.github/workflows/test-cli-with-database.yml +++ b/.github/workflows/test-cli-with-database.yml @@ -47,7 +47,7 @@ jobs: node-version: 20 - name: Install Medusa cli - run: npm i -g @medusajs/cli@preview + run: npm i -g @medusajs/cli@latest - name: Create Medusa project run: | @@ -59,22 +59,22 @@ jobs: working-directory: ../cli-test - name: Run migrations - run: medusa db:migrate + run: npx medusa db:migrate working-directory: ../cli-test - name: Create admin user - run: medusa user -e test@test.com -p password -i admin_123 + run: npx medusa user -e test@test.com -p password -i admin_123 working-directory: ../cli-test - name: Run development server - run: medusa develop & + run: npx medusa develop & working-directory: ../cli-test - name: Testing development server uses: ./.github/actions/test-server - name: Starting medusa - run: medusa start & + run: npx medusa start & working-directory: ../cli-test - name: Testing server