Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions eslint/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}