Skip to content

(SW 6.6) ADS-4480 Migrate storefront and administration #25

(SW 6.6) ADS-4480 Migrate storefront and administration

(SW 6.6) ADS-4480 Migrate storefront and administration #25

Workflow file for this run

name: Lint JS
on:
push:
branches:
- main
- develop
pull_request:
jobs:
build:
runs-on: ubuntu-latest
name: ESLint
steps:
- uses: actions/checkout@v2
with:
path: shopware6-job-scheduler
- name: Setup PHP with Composer 2
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
extensions: dom, gd, mbstring, pdo_mysql, zip
coverage: xdebug
tools: composer:v2
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Validate dependencies
working-directory: shopware6-job-scheduler
run: composer validate
- name: Install plugin dependencies
working-directory: shopware6-job-scheduler
run: |
npm ci
composer install --no-interaction
- name: Install Shopware dependencies
working-directory: shopware6-job-scheduler
run: npm run install-sw-dependencies
- name: Run ESLint
working-directory: shopware6-job-scheduler
run: npm run administration-lint