53 lines
1.1 KiB
YAML
53 lines
1.1 KiB
YAML
name: F2.2 Integration CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- feature/f2-2-android-v2
|
|
paths:
|
|
- 'api-v3/**'
|
|
- 'web-v2/**'
|
|
- 'scripts/**'
|
|
- 'docker-compose.yml'
|
|
- '.github/workflows/f2-2-ci.yml'
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
api:
|
|
name: API · typecheck, tests, build
|
|
runs-on: ubuntu-latest
|
|
defaults:
|
|
run:
|
|
working-directory: api-v3
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '24'
|
|
cache: npm
|
|
cache-dependency-path: api-v3/package-lock.json
|
|
- run: npm ci
|
|
- run: npm run typecheck
|
|
- run: npm test
|
|
- run: npm run build
|
|
|
|
web:
|
|
name: WEB · typecheck, build
|
|
runs-on: ubuntu-latest
|
|
defaults:
|
|
run:
|
|
working-directory: web-v2
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '24'
|
|
cache: npm
|
|
cache-dependency-path: web-v2/package-lock.json
|
|
- run: npm ci
|
|
- run: npm run typecheck
|
|
- run: npm run build
|