fix: enable CI environment variable for frontend build and update build script
Build and deploy / build (push) Failing after 25s Details
Build and deploy / deploy (push) Has been skipped Details

This commit is contained in:
Artem Kashaev 2025-12-01 15:14:32 +05:00
parent 916882f205
commit c89d9c8a7d
2 changed files with 5 additions and 4 deletions

View File

@ -31,10 +31,10 @@ jobs:
- name: Build frontend bundle
working-directory: frontend
env:
CI: "false"
CI: "true"
run: |
npm install
CI=false npm run build
npm ci
npm run build
- name: Archive frontend dist
run: |

View File

@ -5,7 +5,8 @@
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"build": "vite build",
"build:ci": "tsc --noEmit && vite build",
"preview": "vite preview",
"lint": "eslint . --max-warnings=0",
"lint:fix": "eslint . --fix",