3b49d18d5b
- quality-gates.yml: nuovo input npm-version con step condizionale upgrade - docker-release.yml: idem - examples/documentazione: ci.yml e release.yml passano npm-version: '11' Fixes #2 @25m
27 lines
637 B
YAML
27 lines
637 B
YAML
# Copia in: .gitea/workflows/ci.yml
|
|
# Usato da: siti documentazione Nuxt 4 con SSR e Docker
|
|
#
|
|
# Prerequisiti:
|
|
# - package.json con script: lint:check, typecheck, format:check, build, test
|
|
# - Secrets: NPM_TOKEN (accesso registry @pzeta privato)
|
|
|
|
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths-ignore:
|
|
- '**.md'
|
|
- 'content/**'
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
quality-gates:
|
|
uses: https://gitea.pzetatouch.it/devops/shared-actions/.gitea/workflows/quality-gates.yml@v1
|
|
secrets: inherit
|
|
with:
|
|
npm-version: '11' # lockfile generato con npm@11, runner usa npm@10 di default
|