Skip to content

Commit

Permalink
#35, #37, #83 Fixed working directory
Browse files Browse the repository at this point in the history
  • Loading branch information
jofaval committed Jul 25, 2022
1 parent a0cfe38 commit 3507695
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ jobs:
node-version: [15.14.0]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

defaults:
run:
working-directory: ./app
env:
working-directory: ./app

steps:
- uses: actions/checkout@v3
Expand All @@ -28,6 +27,10 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm ci
working-directory: ${{ env.working-directory }}
- run: npm run build --if-present
working-directory: ${{ env.working-directory }}
- run: npm run coverage
working-directory: ${{ env.working-directory }}
# - run: npm run test:e2e
# working-directory: ${{ env.working-directory }}
11 changes: 7 additions & 4 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ jobs:
node-version: [15.14.0]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

defaults:
run:
working-directory: ./app
env:
working-directory: ./app

steps:
- uses: actions/checkout@v3
Expand All @@ -28,13 +27,17 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm ci
working-directory: ${{ env.working-directory }}
- run: npm run build --if-present
working-directory: ${{ env.working-directory }}
- run: npm run coverage
working-directory: ${{ env.working-directory }}
# - run: npm run test:e2e
# working-directory: ${{ env.working-directory }}
- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.7
with:
branch: gh-pages
folder: dist
folder: app/dist
env:
CI: false
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ All the changes made to this project, wether they are bugfixes, additions, modif
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 2022-07-24 (v0.0.3)
## 2022-07-25 (v0.0.3)

### Added

Expand Down

0 comments on commit 3507695

Please sign in to comment.