fix(ci): aggiunge input npm-version per compatibilità lockfile npm@11

- 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
This commit is contained in:
LucaZanni
2026-06-06 13:36:22 +02:00
parent 53b1c7a9c4
commit 3b49d18d5b
4 changed files with 17 additions and 2 deletions
+7
View File
@@ -6,6 +6,9 @@ on:
node-version:
type: string
default: '22.17'
npm-version:
type: string
default: ''
jobs:
quality-gates:
@@ -19,6 +22,10 @@ jobs:
with:
node-version: ${{ inputs.node-version || '22.17' }}
- name: Upgrade npm
if: inputs.npm-version != ''
run: npm install -g npm@${{ inputs.npm-version }}
- name: Cache npm
uses: https://gitea.com/actions/cache@v4
with: