tercul-frontend/.github/workflows/lint.yml
Damir Mukimov 09a2d087e4
feat: Add GitHub Actions workflows for frontend CI/CD
- Add lint.yml: TypeScript and ESLint checks
- Add build.yml: Vite application build pipeline
- Add docker-build.yml: Multi-arch container image builds
- Add deploy.yml: Production deployment to Docker Swarm
- Add dependabot.yml: Automated dependency updates

Follows Single Responsibility Principle with focused workflows.
Includes security best practices, caching, and deployment automation.
2025-11-27 04:47:20 +01:00

32 lines
582 B
YAML

name: Lint
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
typescript-lint:
name: TypeScript & ESLint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "yarn"
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Type check
run: yarn check
- name: Lint
run: yarn lint
if: always()