diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 08e2825..f12f5af 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,8 +19,7 @@ jobs: #cache: 'npm' - run: yarn working-directory: ./frontend - - run: yarn build - working-directory: ./frontend + - run: yarn build:client - name: ssh deploy on remote server uses: easingthemes/ssh-deploy@v2.1.4 with: diff --git a/package.json b/package.json index 7796f5d..7266468 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "server": "concurrently \"nodemon ./backend/server.ts\" \"npm run bot\"", "back": "nodemon ./backend/server.ts", "client": "npm start --prefix ./frontend", + "build:client": "npm run build --prefix ./frontend", "bot": "nodemon ./tg-bot/index.js", "start:dev": "concurrently \"npm run server\" \"npm run client\"" },