Skip to content

feat: AI-DLC Constructionフェーズ完了 — SABOROU MVP実装(全6Unit) #14

feat: AI-DLC Constructionフェーズ完了 — SABOROU MVP実装(全6Unit)

feat: AI-DLC Constructionフェーズ完了 — SABOROU MVP実装(全6Unit) #14

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build-cdk:
name: CDK Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 10.33.0
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build CDK
run: pnpm --filter cdk build
build-backend:
name: Backend Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 10.33.0
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build backend
run: pnpm --filter backend build
build-frontend-e2e:
name: Frontend Build & Playwright E2E
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 10.33.0
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build frontend
run: pnpm --filter frontend build
- name: Install Playwright browsers
run: pnpm --filter frontend exec playwright install --with-deps
- name: Run Playwright E2E tests
run: pnpm --filter frontend e2e
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: pkgs/frontend/playwright-report/
retention-days: 30