From 9faa3150ca66db4884162ce1148b4abb5e462faa Mon Sep 17 00:00:00 2001 From: Stanislav Khoshov Date: Sat, 6 Sep 2025 18:18:42 +0300 Subject: [PATCH] update deploy script --- .github/workflows/deploy_dev.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy_dev.yml b/.github/workflows/deploy_dev.yml index 530483e..223df54 100644 --- a/.github/workflows/deploy_dev.yml +++ b/.github/workflows/deploy_dev.yml @@ -20,11 +20,20 @@ jobs: cache: 'npm' cache-dependency-path: frontend/package-lock.json - - name: Build frontend + - name: Install deps (frontend) + working-directory: frontend + run: npm ci + + - name: Debug TypeScript config and paths + working-directory: frontend run: | - cd frontend - npm ci - npm run build + npx tsc -p tsconfig.json --showConfig | sed -n '1,200p' + ls -la src/lib || true + grep -R --line-number --color=never "from '@/lib" src || true + + - name: Build frontend + working-directory: frontend + run: npm run build - name: Copy files to server uses: appleboy/scp-action@v0.1.7