Skip to content

feat: enhance image upload tests with HEIC and WebP fixtures #325

feat: enhance image upload tests with HEIC and WebP fixtures

feat: enhance image upload tests with HEIC and WebP fixtures #325

Workflow file for this run

name: CI/CD Pipeline
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
backend:
runs-on: ubuntu-latest
defaults:
run:
working-directory: backend
steps:
- uses: actions/checkout@v6
- uses: actions/setup-java@v5
with:
java-version: "21"
distribution: "temurin"
- run: ./mvnw clean verify
frontend:
runs-on: ubuntu-latest
defaults:
run:
working-directory: frontend
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v4
with:
version: 10
- uses: actions/setup-node@v6
with:
node-version: "22"
cache: "pnpm"
cache-dependency-path: "frontend/pnpm-lock.yaml"
- run: |
pnpm install --frozen-lockfile
pnpm test
pnpm build
docker:
runs-on: ubuntu-latest
needs: [backend, frontend]
steps:
- uses: actions/checkout@v6
- name: Build backend Docker image
run: docker build -t crm-backend ./backend
- name: Build frontend Docker image
run: docker build -t crm-frontend ./frontend
- name: Test Docker Compose
run: docker compose build