-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set working directory for github actions
- 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.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] | ||
|
@@ -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 | ||
|
@@ -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] | ||
|
@@ -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 | ||
|
@@ -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] | ||
|
@@ -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 | ||
|