aethex-forge/.github/workflows/lint.yml
Builder.io 6a2e138dfd GitHub Actions: Lint and type check
cgen-adcc494ca444409e9273fbe814cc3251
2025-11-09 21:47:30 +00:00

32 lines
621 B
YAML

name: Lint & Type Check
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run ESLint
run: npm run lint || true
- name: Type check
run: npm run type-check || true
- name: Format check
run: npm run format:check || true