Skip to content

Commit

Permalink
Install npm-run-all to group lint and fix scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
guergana committed Jan 24, 2024
1 parent 7379624 commit 24f088a
Show file tree
Hide file tree
Showing 3 changed files with 962 additions and 42 deletions.
19 changes: 2 additions & 17 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: PHP Lint
run: composer run lint

js-lint:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -32,24 +32,9 @@ jobs:
- name: Install Dependencies
run: npm ci

- name: Run ESLint
- name: Run ESlint and Stylelint
run: npm run lint

- name: Run i18 Validation
run: npm run i18n:validate

style-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4.0.0
with:
node-version: '18.x'

- name: Install Dependencies
run: npm ci

- name: Run stylelint
run: npm run stylelint
Loading

0 comments on commit 24f088a

Please sign in to comment.