CI : workflow validate.yml, manifeste ci.required:true, package.json avec scripts verify

This commit is contained in:
Manus CI
2026-08-21 09:53:38 +00:00
parent 1f7b97091d
commit 5744706aa2
3 changed files with 45 additions and 2 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

@@ -2,9 +2,15 @@
"id": "portail-santinova",
"name": "Portail Applicatif",
"category": "INFRA",
"urls": {"recette": "https://portail.recette.santinova-soft.org", "prod": "https://portail.santinova-soft.org"},
"urls": {
"recette": "https://portail.recette.santinova-soft.org",
"prod": "https://portail.santinova-soft.org"
},
"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"
}
}