Skip to content

feat(docker): 添加前端 Dockerfile + nginx.conf(SPA + API 反代) #10

feat(docker): 添加前端 Dockerfile + nginx.conf(SPA + API 反代)

feat(docker): 添加前端 Dockerfile + nginx.conf(SPA + API 反代) #10

Workflow file for this run

name: CI
on:
push:
branches: [main, develop]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: pnpm
- run: pnpm install
- name: Type check
run: pnpm typecheck || true
- name: Build
run: pnpm build
- name: E2E tests (Playwright)
run: npx playwright install --with-deps && pnpm test:e2e:fe