-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (36 loc) · 1.02 KB
/
lint-js.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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