Files
territory-log/.gitea/workflows/ci.yml
root 6a4ee9e80f
Some checks are pending
Build (EAS) / EAS Build (Android Preview APK) (push) Waiting to run
feat: add CI/CD workflows and EAS build config (Sprint 5)
2026-02-19 22:10:26 +08:00

32 lines
572 B
YAML

name: CI
on:
push:
branches:
- dev
- 'sprint/**'
jobs:
lint-and-typecheck:
name: Lint & TypeScript Check
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js 20
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run ESLint
run: npx eslint . --ext .ts,.tsx --max-warnings 0
- name: Run TypeScript check
run: npx tsc --noEmit