From dbb93078795d2ecb0b82329e1d6eb818aa6b7fac Mon Sep 17 00:00:00 2001
From: Philipp
Date: Tue, 5 May 2026 10:18:13 +0200
Subject: [PATCH] fix: Pin NPM and Node versions for Eslint
---
eslint/action.yml | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/eslint/action.yml b/eslint/action.yml
index 9dcd831..6de6297 100644
--- a/eslint/action.yml
+++ b/eslint/action.yml
@@ -68,23 +68,23 @@ runs:
- name: Setup Node
uses: actions/setup-node@v4
with:
- node-version: "20.x"
+ node-version: "24.x"
- name: Install admin deps
shell: bash
if: ${{ inputs.forceInstallAdminDeps || contains(inputs.projectPath, 'administration') }}
- run: npm ci --no-audit --no-fund --prefer-offline --prefix "src/Administration/Resources/app/administration"
+ run: npx npm@11.8.0 ci --no-audit --no-fund --prefer-offline --prefix "src/Administration/Resources/app/administration"
- name: Install storefront deps
shell: bash
if: ${{ inputs.forceInstallStorefrontDeps || contains(inputs.projectPath, 'storefront') }}
- run: npm ci --no-audit --no-fund --prefer-offline --prefix "src/Storefront/Resources/app/storefront"
+ run: npx npm@11.8.0 ci --no-audit --no-fund --prefer-offline --prefix "src/Storefront/Resources/app/storefront"
- name: Install Plugin Dependencies
shell: bash
- run: npm install --no-audit --no-fund --prefer-offline --prefix "custom/plugins/${{ inputs.extensionName }}/${{ inputs.projectPath }}"
+ run: npx npm@11.8.0 install --no-audit --no-fund --prefer-offline --prefix "custom/plugins/${{ inputs.extensionName }}/${{ inputs.projectPath }}"
- name: Run Lint command
shell: bash
working-directory: custom/plugins/${{ inputs.extensionName }}/${{ inputs.projectPath }}
- run: npm run ${{ inputs.npmLintCmd }}
+ run: npx npm@11.8.0 run ${{ inputs.npmLintCmd }}