diff --git a/.github/workflows/client-ci.yml b/.github/workflows/client-ci.yml index 8b137d8..e860bf9 100644 --- a/.github/workflows/client-ci.yml +++ b/.github/workflows/client-ci.yml @@ -14,6 +14,7 @@ jobs: with: cache-dependency-path: client/node_modules hash-path: client/yarn.lock + directory: client client-lint: defaults: diff --git a/.github/workflows/install-dependency.yml b/.github/workflows/install-dependency.yml index f635de6..5b6533b 100644 --- a/.github/workflows/install-dependency.yml +++ b/.github/workflows/install-dependency.yml @@ -8,12 +8,18 @@ on: hash-path: type: string required: true + directory: + type: string + required: true outputs: dependency_cache_key: description: 'Dependency cache key' value: ${{ jobs.install_dependencies.outputs.dependency_cache_key }} jobs: install_dependencies: + defaults: + run: + working-directory: ${{ inputs.directory }} name: Install Dependencies runs-on: ubuntu-latest timeout-minutes: 15 diff --git a/.github/workflows/server-ci.yml b/.github/workflows/server-ci.yml index 2d08438..ef238cf 100644 --- a/.github/workflows/server-ci.yml +++ b/.github/workflows/server-ci.yml @@ -14,6 +14,7 @@ jobs: with: cache-dependency-path: server/node_modules hash-path: server/yarn.lock + directory: server server-lint: defaults: