Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
ImprovedTube authored Jul 17, 2024
1 parent 44c3170 commit cc2cba6
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions .github/workflows/eslint_csslint_jest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,26 +40,9 @@ jobs:
- name: Run npm test
run: npm test

csslint:
runs-on: ubuntu-latest
needs: lint-and-test

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Node.js (version 4)
uses: actions/setup-node@v4
with:
node-version: '4'

- name: Install csslint using npm
run: npm install -g [email protected]

- name: Lint CSS files
run: |
find js\&css -type f -name '*.css' -exec sh -c 'for file; do npx csslint --config tests/csslint_rules.json "$file"; done' _ {} +
shopt -s globstar; for file in **/*.css; do [ -f "$file" ] && csslint --config tests/csslint_rules.json "$file"; done

0 comments on commit cc2cba6

Please sign in to comment.