Files
CamTalk/.gitea/workflow/frontend-ci.yml

31 lines
581 B
YAML

name: Frontend CI
on:
push:
branches: [main]
paths: [frontend/**]
pull_request:
branches: [main]
paths: [frontend/**]
jobs:
ci:
runs-on: aliyun
container: node:22-bookworm
env:
npm_config_registry: https://registry.npmmirror.com
defaults:
run:
working-directory: frontend
steps:
- uses: http://8.161.227.145:3000/huanghaosheng/checkout@releases/v4
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Type check & Build
run: npm run build