🎉 feat(ci): setup Gitea Actions riutilizzabili cross-repo
- Aggiunti 6 workflow condivisi in .gitea/workflows/ con trigger workflow_call - Implementati: quality-gates, npm-publish, docker-release, auto-release, dependency-check, branch-cleanup - Aggiunti esempi consumer per microservizio e libreria-npm (ci, release, maintenance) - Allineato npm run lint:check su tutti i workflow - Corretti GITEA_TOKEN, gitea.* context, GITHUB_REF/GITHUB_OUTPUT per compatibilità Gitea - Rimosso needs: tra job reusable (Gitea bug #31900), path uses: con .gitea/workflows/ Fixes #1 @1d
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
# Copia in: .gitea/workflows/ci.yml
|
||||
# Usato da: microservizi Node.js con deploy Docker
|
||||
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
- 'docs/**'
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
quality-gates:
|
||||
uses: pzeta_touch/shared-actions/.gitea/workflows/quality-gates.yml@main
|
||||
secrets: inherit
|
||||
# with:
|
||||
# node-version: '22.17' # opzionale, default già impostato
|
||||
Reference in New Issue
Block a user