Merge branch 'main' into PEDZ

This commit is contained in:
PEDZEO
2026-01-18 22:57:40 +03:00
committed by GitHub
13 changed files with 148 additions and 79 deletions

View File

@@ -1,11 +1,11 @@
on:
push:
branches: [main, develop]
branches: [main, dev]
pull_request:
branches: [main, develop]
branches: [main, dev]
jobs:
lint-and-typecheck:
lint-and-build:
runs-on: ubuntu-latest
steps:
@@ -13,29 +13,12 @@ jobs:
run: npm ci
- name: Run ESLint
run: npm run lint -- --max-warnings 50
run: npm run lint
- name: Type check
run: npm run type-check
- name: Run TypeScript check
run: npx tsc --noEmit
build:
runs-on: ubuntu-latest
needs: lint-and-typecheck
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build application
- name: Build
run: npm run build
env:
VITE_API_URL: /api
@@ -48,4 +31,4 @@ jobs:
with:
name: dist
path: dist/
retention-days: 7
retention-days: 7