on: push: branches: [main, dev] pull_request: branches: [main, dev] jobs: lint-and-build: runs-on: ubuntu-latest steps: @@ -24,39 +24,10 @@ jobs: run: npm ci - name: Run ESLint run: npm run lint - name: Run TypeScript check run: npx tsc --noEmit - name: Build run: npm run build env: VITE_API_URL: /api VITE_TELEGRAM_BOT_USERNAME: test_bot VITE_APP_NAME: Cabinet VITE_APP_LOGO: V - name: Upload build artifacts uses: actions/upload-artifact@v4 with: name: dist path: dist/ retention-days: 7