# Gitea Actions for Vibing Project This directory contains Gitea Actions workflows for the Vibing project (both frontend and backend). ## Workflows ### Backend CI (`backend-ci.yml`) Runs Maven tests on the backend project. **Triggers:** - Push to `main` or `develop` branches - Pull requests to `main` or `develop` branches - Only when changes are made to files in the `backend/` directory **What it does:** 1. Checks out the code 2. Sets up Java 21 (Temurin distribution) 3. Caches Maven dependencies for faster builds 4. Runs `mvn test` in the backend directory 5. Uploads test results as artifacts (retained for 7 days) **Requirements:** - Java 21 - Maven - Ubuntu runner ### Frontend CI (`frontend-ci.yml`) Runs linting and builds the frontend project. **Triggers:** - Push to `main` or `develop` branches - Pull requests to `main` or `develop` branches - Only when changes are made to files in the `frontend/` directory **What it does:** 1. Checks out the code 2. Sets up Node.js 18 3. Caches npm dependencies for faster builds 4. Installs dependencies with `npm ci` 5. Runs ESLint for code quality checks 6. Builds the project with `npm run build` 7. Uploads build artifacts (retained for 7 days) **Requirements:** - Node.js 18 - npm - Ubuntu runner