Skip to content

Commit 24f088a

Browse files
committed
Install npm-run-all to group lint and fix scripts
1 parent 7379624 commit 24f088a

File tree

3 files changed

+962
-42
lines changed

3 files changed

+962
-42
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: PHP Lint
2020
run: composer run lint
2121

22-
js-lint:
22+
lint:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- uses: actions/checkout@v4
@@ -32,24 +32,9 @@ jobs:
3232
- name: Install Dependencies
3333
run: npm ci
3434

35-
- name: Run ESLint
35+
- name: Run ESlint and Stylelint
3636
run: npm run lint
3737

3838
- name: Run i18 Validation
3939
run: npm run i18n:validate
4040

41-
style-lint:
42-
runs-on: ubuntu-latest
43-
steps:
44-
- uses: actions/checkout@v4
45-
46-
- name: Setup Node.js
47-
uses: actions/setup-node@v4.0.0
48-
with:
49-
node-version: '18.x'
50-
51-
- name: Install Dependencies
52-
run: npm ci
53-
54-
- name: Run stylelint
55-
run: npm run stylelint

0 commit comments

Comments
 (0)