Skip to content

Commit

Permalink
Set working directory for github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominik Bláha committed Dec 9, 2021
1 parent d012839 commit 85cd4ed
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
build-frontend:
name: "Build frontend"
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/frontend
steps:
- name: "Checkout"
uses: actions/[email protected]
Expand All @@ -24,10 +27,6 @@ jobs:
npm-dependencies-${{ runner.os }}-${{ env.cache-version }}-
npm-dependencies-${{ runner.os }}-
- name: "Open frontend directory"
run: |
cd packages/frontend
- name: "Install NPM dependencies"
run: |
npm ci
Expand All @@ -39,6 +38,9 @@ jobs:
lint:
name: "Lint"
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/collector
steps:
- name: "Checkout"
uses: actions/[email protected]
Expand All @@ -53,10 +55,6 @@ jobs:
npm-dependencies-${{ runner.os }}-${{ env.cache-version }}-
npm-dependencies-${{ runner.os }}-
- name: "Open collector directory"
run: |
cd packages/collector
- name: "Install NPM dependencies"
run: |
npm ci
Expand All @@ -68,6 +66,9 @@ jobs:
test:
name: "Test"
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/collector
steps:
- name: "Checkout"
uses: actions/[email protected]
Expand All @@ -82,10 +83,6 @@ jobs:
npm-dependencies-${{ runner.os }}-${{ env.cache-version }}-
npm-dependencies-${{ runner.os }}-
- name: "Open collector directory"
run: |
cd packages/collector
- name: "Install NPM dependencies"
run: |
npm ci
Expand Down

0 comments on commit 85cd4ed

Please sign in to comment.