Skip to content

Merge pull request #80 from Nosto/SSP-98_cookie_consent_configuration_v4 #423

Merge pull request #80 from Nosto/SSP-98_cookie_consent_configuration_v4

Merge pull request #80 from Nosto/SSP-98_cookie_consent_configuration_v4 #423

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@v4
with:
path: nosto-shopware6
- name: Setup Runner
uses: ./nosto-shopware6/.github/action/setup_runner
- name: Setup Plugin
uses: ./nosto-shopware6/.github/action/setup_plugin
- name: Setup Shopware Shop
uses: ./nosto-shopware6/.github/action/setup_shop
with:
shopware-version: '6.6.2.0'
- name: Install administration dependencies
run: |
cd shopware/vendor/shopware/administration/Resources/app/administration
npm i
- name: Install storefront dependencies
run: |
cd shopware/vendor/shopware/storefront/Resources/app/storefront
npm i
- name: Run ESLint
run: |
cd shopware/custom/plugins/nosto-shopware6
npm run administration-lint
npm run storefront-lint