Skip to content

Commit

Permalink
Merge pull request #336 from Leleat/ci-update
Browse files Browse the repository at this point in the history
CI: Remove stylelint and use package.json to install deps
  • Loading branch information
Leleat authored Apr 18, 2024
2 parents 70c8d86 + d7c7951 commit 8f4daab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/run-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,12 @@ jobs:
with:
node-version: "*"
- name: Prepare Linters
run: npm install -g eslint stylelint stylelint-config-standard && npm i @eslint/js
run: npm i
- name: Run ESLint (*.js)
run: >
git diff --name-only --diff-filter=ACMTUXB origin/${{ github.base_ref }} HEAD |
grep -E "\.js$" |
xargs -r eslint
- name: Run stylelint (*.css)
if: success() || failure()
run: >
git diff --name-only --diff-filter=ACMTUXB origin/${{ github.base_ref }} HEAD |
grep -E "\.css$" |
xargs -r stylelint
- name: Run ShellCheck (*.sh)
if: success() || failure()
run: >
Expand Down
5 changes: 0 additions & 5 deletions .stylelintrc.yml

This file was deleted.

0 comments on commit 8f4daab

Please sign in to comment.