Skip to content

SW-804 special character Eszett should be keep v4 #1353

SW-804 special character Eszett should be keep v4

SW-804 special character Eszett should be keep v4 #1353

Workflow file for this run

name: Lint
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: [ '7.4' ]
name: Code linting (PHP ${{ matrix.php-versions }})
steps:
- uses: actions/checkout@v2
- name: Setup PHP with Composer 2
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, dom
coverage: xdebug
tools: composer:v2
- name: Validate dependencies
run: composer validate
- name: Install dependencies
run: composer install
- name: Run Lint
run: composer lint
eslint:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: [ '7.4' ]
shopware-versions: [ 'v6.4.20.2' ]
name: ESLint
steps:
- uses: mirromutth/[email protected]
with:
mysql version: '5.7'
mysql database: shopware
mysql root password: shopware
- uses: actions/checkout@v2
with:
path: plugin-shopware-6
- name: Setup Node 16
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Setup PHP with Composer 2
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: dom, gd, mbstring, pdo_mysql, zip
coverage: xdebug
tools: composer:2.1.5
- name: Validate dependencies
run: |
cd plugin-shopware-6
composer validate
- name: Clone Shopware repository
uses: actions/checkout@v2
with:
repository: shopware/development
ref: ${{ matrix.shopware-versions }}
path: development
- name: Install Shopware
run: |
cp plugin-shopware-6/.github/.psh.yaml.override development
cd development
./psh.phar init
./psh.phar administration:init --APP_ENV="dev"
- name: Install Plugin dependencies
run: |
cd plugin-shopware-6
composer install --no-interaction
- name: Install Plugin
run: |
mv plugin-shopware-6 development/custom/plugins
cd development
php bin/console plugin:refresh
php bin/console plugin:install --activate --clearCache FinSearch
./psh.phar storefront:install-dependencies
./psh.phar administration:build
./psh.phar storefront:build
- name: Run ESLint
run: |
cd development/custom/plugins/plugin-shopware-6
make administration-lint
make storefront-lint