CI/CD fix working-directory.

This commit is contained in:
Miroslav Šedivý
2023-09-30 18:30:06 +02:00
parent a294db65e2
commit 5cb55c4d0e
+4 -6
View File
@@ -13,9 +13,6 @@ env:
jobs:
build-client:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./client
#
# do not run on forks
#
@@ -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