Files
vibing/.gitea/README.md
Jarno Kiesiläinen c3764176ac
All checks were successful
Backend CI / Run Maven Tests (push) Successful in 27s
Backend project initialized
Co-authored-by: Jarno Kiesiläinen <jarnokie@gmail.com>
Co-committed-by: Jarno Kiesiläinen <jarnokie@gmail.com>
2025-08-02 19:27:17 +00:00

50 lines
1.2 KiB
Markdown

# 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