CI : workflow validate.yml, manifeste ci.required:true, package.json avec scripts verify
All checks were successful
Validation applicative / Tests de contrat (push) Successful in 10s

- Ajout .gitea/workflows/validate.yml (runs-on: ci-node22, test de contrat)
- Ajout package.json avec scripts test/check/build/verify
- Ajout ci.required:true dans app.json
This commit is contained in:
Manus CI
2026-08-21 09:50:30 +00:00
parent 95d60c1776
commit bdfc417435
3 changed files with 41 additions and 1 deletions

View File

@@ -0,0 +1,26 @@
name: Validation applicative
on:
push:
branches: [main, master]
paths-ignore:
- "**.md"
- "docs/**"
pull_request:
branches: [main, master]
paths-ignore:
- "**.md"
- "docs/**"
workflow_dispatch:
jobs:
verify:
name: Tests de contrat
runs-on: ci-node22
timeout-minutes: 5
steps:
- name: Récupérer les sources
uses: actions/checkout@v4
- name: Vérifier le contrat du portail
run: node test/portal-contract.test.js

View File

@@ -9,5 +9,8 @@
"containerName": "portail-santinova",
"image": "images/portail.png",
"giteaRepo": "portail-santinova",
"giteaOwner": "manus-admin"
"giteaOwner": "manus-admin",
"ci": {
"required": true
}
}

11
package.json Normal file
View File

@@ -0,0 +1,11 @@
{
"name": "portail-santinova",
"version": "1.0.0",
"private": true,
"scripts": {
"test": "node test/portal-contract.test.js",
"check": "echo 'No TypeScript — skip'",
"build": "echo 'Static site — no build step'",
"verify": "pnpm check && pnpm test && pnpm build"
}
}