Skip to content

feat: ci and code quality toolchain #15

feat: ci and code quality toolchain

feat: ci and code quality toolchain #15

Workflow file for this run

name: CI Client
# Quality gate for the Expo client. Mirrors the local script surface so
# contributors run the same commands CI does (see README "Quality checks").
on:
push:
branches: [develop, main]
pull_request:
branches: [develop, main]
# Cancel superseded runs on the same ref to save CI minutes.
concurrency:
group: ci-client-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
quality:
name: Build, lint & format
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Type-check (build)
run: npm run build
- name: Lint
run: npm run lint
- name: Format check
run: npm run format:check