Files
pos-system/.github/workflows/ci-mobile.yml
Ho Ngoc Hai 63f5b10fe2 chore: upgrade to Node.js 25.2.1
- Update .nvmrc to Node 25
- Update all Dockerfiles to use node:25-alpine
- Update package.json engines to >=25.0.0
- Update CI/CD workflows for Node 25
- Update @types/node in packages
- Fix ESLint config to use ES module syntax
- Update OpenTelemetry imports for compatibility

All services tested and working with Node.js 25.2.1
2026-01-07 17:15:25 +07:00

58 lines
1.2 KiB
YAML

name: Mobile Apps CI
on:
push:
paths:
- 'apps/app-*/**'
- 'packages/**'
pull_request:
paths:
- 'apps/app-*/**'
- 'packages/**'
jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup PNPM
uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '25'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.16.0'
channel: 'stable'
- name: Install Flutter dependencies (Admin)
run: |
cd apps/app-admin
flutter pub get
- name: Install Flutter dependencies (Client)
run: |
cd apps/app-client
flutter pub get
- name: Analyze Flutter code (Admin)
run: |
cd apps/app-admin
flutter analyze
- name: Analyze Flutter code (Client)
run: |
cd apps/app-client
flutter analyze