**What** Update the `MedusaService` class, factory and types to remove the concept of main modules. The idea being that all method will be explicitly named and suffixes to represent the object you are trying to manipulate. This pr also includes various fixes in different modules Co-authored-by: Stevche Radevski <4820812+sradevski@users.noreply.github.com> Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
39 lines
931 B
YAML
39 lines
931 B
YAML
name: "Setup test env"
|
|
description: "Setup test environment for actions"
|
|
|
|
inputs:
|
|
node-version:
|
|
description: "Node version"
|
|
required: false
|
|
default: "20.0.0"
|
|
cache-extension:
|
|
description: "Extension for fetching cached dependencies"
|
|
required: true
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Cancel Previous Runs
|
|
uses: styfle/cancel-workflow-action@0.11.0
|
|
with:
|
|
access_token: ${{ github.token }}
|
|
|
|
- name: Setup Node.js environment
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: ${{ inputs.node-version }}
|
|
cache: "yarn"
|
|
|
|
- name: Install dependencies
|
|
uses: ./.github/actions/cache-deps
|
|
with:
|
|
extension: ${{ inputs.cache-extension }}
|
|
|
|
- name: Install dev cli
|
|
shell: "bash"
|
|
run: sudo npm i -g medusa-dev-cli
|
|
|
|
- name: Set path to medusa repo
|
|
shell: "bash"
|
|
run: medusa-dev --set-path-to-repo $(pwd)
|