Skip to content

adjust directory mapping #23

adjust directory mapping

adjust directory mapping #23

Workflow file for this run

name: ESLint Storefront
on:
push:
jobs:
run:
name: ESLint Storefront
runs-on: ubuntu-latest
steps:
- name: Clone Shopware
uses: actions/checkout@v4
with:
repository: shopware/shopware
ref: trunk
- name: Clone Extension
uses: actions/checkout@v4
with:
path: custom/plugins/${{ inputs.extensionName }}
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Install Plugin Dependencies
working-directory: custom/plugins/${{ inputs.extensionName }}/src/Resources/app/storefront
run: npm install --no-audit --no-fund --prefer-offline
- name: Install platform Dependencies
working-directory: src/Storefront/Resources/app/storefront
run: npm install --no-audit --no-fund --prefer-offline
- name: Run ESLint
working-directory: custom/plugins/${{ inputs.extensionName }}
run: ../../src/Storefront/Resources/app/storefront/node_modules/.bin/eslint --config ../../src/Storefront/Resources/app/storefront/.eslintrc.js src/Resources/app/storefront