Skip to content

Commit

Permalink
CI/CD fix working-directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
m1k1o committed Sep 30, 2023
1 parent a294db6 commit 5cb55c4
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ env:
jobs:
build-client:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./client
#
# do not run on forks
#
Expand All @@ -30,18 +27,19 @@ jobs:
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: ./client/package-lock.json`
-
name: Install dependencies
run: npm install
run: cd ./client && npm install
-
name: Build
run: npm run build
run: cd ./client && npm run build
-
name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: client
path: dist
path: ./client/dist

build-docker:
needs: build-client
Expand Down

0 comments on commit 5cb55c4

Please sign in to comment.