chore(ci): improve and modernize workflow#1217
Merged
Merged
Conversation
added 12 commits
April 24, 2026 15:50
cesar-richard
requested changes
Apr 27, 2026
Co-authored-by: César Richard <cesar@crichard.fr>
cesar-richard
approved these changes
Apr 29, 2026
ronycohen
commented
Apr 29, 2026
…-workflow # Conflicts: # .github/workflows/main.yml
|
Collaborator
Author
|
A voir si on cloture suite aux derniers changements sur le sujet. |
| run: npm ci --no-audit --ignore-scripts | ||
|
|
||
| - name: Type-check | ||
| run: npx tsc --noEmit |
| run: npm ci --no-audit --ignore-scripts | ||
|
|
||
| - name: Type-check | ||
| run: npx tsc --noEmit |
| workflow_dispatch: | ||
|
|
||
| permissions: | ||
| contents: read |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Résumé exécutif
Cette PR remet en fonctionnement et fiabilise la CI/CD de
Cohort360-FrontEnd, puis adapte le workflow de publication au nouveau modèle de release basé sur des branchesrelease/*plutôt que sur des tags Git.Principaux changements
pull_request,workflow_dispatch, permissions minimales, concurrency)lint,typecheck,tests,sonar,publishnpm ciet resynchronisation dupackage-lock.jsontestsetsonarrun-sonaret des variablesSONAR_TEST_*; les runs manuels passent parworkflow_dispatchmainet sur les branchesrelease/*release/X.Y.Z/versionpackage.jsonscripts/createReleaseCommit.shscripts/createReleaseCommit.shpour exécuter le script uniquement depuisrelease/$VERSIONnpx tscpar le binaire local verrouillé et usage de[[ ... ]]dans les scripts bashImpact release
develop -> feature/*,feature/* -> develop,develop -> release/*, puisrelease/* -> mainrelease/X.Y.Z/opsreste le tag d'image DockerX.Y.Z, pas un tag Gitpublishrefuse une brancherelease/*si son suffixe ne correspond pas à la version depackage.jsonSNAPSHOTne sont pas publiées depuis les branchesrelease/*Validations réalisées
bash -n scripts/createReleaseCommit.sh: OK.github/workflows/main.ymlvia Nodeyaml: OKgit diff --check -- .github/workflows/main.yml scripts/createReleaseCommit.sh: OK./node_modules/.bin/tsc --noEmit: OKrelease/*Points restant hors workflow
#3220