mirror of
https://github.com/m1k1o/neko-rooms.git
synced 2026-11-02 22:51:34 -06:00
CI/CD fix working-directory.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user