From 325a0f82ae59e384535b089afbfe91564821d777 Mon Sep 17 00:00:00 2001 From: Manus CI Date: Fri, 21 Aug 2026 10:58:18 +0000 Subject: [PATCH] CI : workflow validate.yml (build backend + frontend), manifeste ci.required:true --- .gitea/workflows/validate.yml | 32 ++++++++++++++++++++++++++++++++ app.json | 5 ++++- 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 .gitea/workflows/validate.yml diff --git a/.gitea/workflows/validate.yml b/.gitea/workflows/validate.yml new file mode 100644 index 0000000..c680a1c --- /dev/null +++ b/.gitea/workflows/validate.yml @@ -0,0 +1,32 @@ +name: Validation applicative + +on: + push: + branches: [main, master] + paths-ignore: + - "**.md" + - "docs/**" + pull_request: + branches: [main, master] + workflow_dispatch: + +jobs: + verify: + name: Build backend et frontend + runs-on: ci-node22 + timeout-minutes: 10 + steps: + - name: Récupérer les sources + uses: actions/checkout@v4 + + - name: Installer les dépendances backend + run: cd backend && npm ci --ignore-scripts + + - name: Build backend + run: cd backend && npm run build + + - name: Installer les dépendances frontend + run: cd frontend && npm ci --ignore-scripts + + - name: Build frontend + run: cd frontend && npm run build diff --git a/app.json b/app.json index 5278f10..2f35c81 100644 --- a/app.json +++ b/app.json @@ -9,5 +9,8 @@ "containerName": "santinova-facturation-app", "image": "images/facturation.png", "giteaRepo": "facturation-santinova", - "giteaOwner": "manus-admin" + "giteaOwner": "manus-admin", + "ci": { + "required": true + } }