ci: use .nvmrc for setup-node version in codeql/release workflows

This commit is contained in:
MHSanaei
2026-06-15 23:50:05 +02:00
parent 9385b6c609
commit f3eba04ed8
2 changed files with 3 additions and 3 deletions

View File

@ -51,7 +51,7 @@ jobs:
if: matrix.language == 'go'
uses: actions/setup-node@v6
with:
node-version: '22'
node-version-file: .nvmrc
cache: 'npm'
cache-dependency-path: frontend/package-lock.json

View File

@ -59,7 +59,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '22'
node-version-file: .nvmrc
cache: 'npm'
cache-dependency-path: frontend/package-lock.json
@ -210,7 +210,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '22'
node-version-file: .nvmrc
cache: 'npm'
cache-dependency-path: frontend/package-lock.json