CI : workflow validate.yml (build backend + frontend), manifeste ci.required:true
Some checks failed
Validation applicative / Build backend et frontend (push) Failing after 10s
Some checks failed
Validation applicative / Build backend et frontend (push) Failing after 10s
This commit is contained in:
32
.gitea/workflows/validate.yml
Normal file
32
.gitea/workflows/validate.yml
Normal file
@@ -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
|
||||||
5
app.json
5
app.json
@@ -9,5 +9,8 @@
|
|||||||
"containerName": "santinova-facturation-app",
|
"containerName": "santinova-facturation-app",
|
||||||
"image": "images/facturation.png",
|
"image": "images/facturation.png",
|
||||||
"giteaRepo": "facturation-santinova",
|
"giteaRepo": "facturation-santinova",
|
||||||
"giteaOwner": "manus-admin"
|
"giteaOwner": "manus-admin",
|
||||||
|
"ci": {
|
||||||
|
"required": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user