Skip to content

Commit

Permalink
Merge pull request #380 from Sage/css-validator
Browse files Browse the repository at this point in the history
ci: Run W3C validator on generated css files for distribution
  • Loading branch information
druhill authored Oct 8, 2024
2 parents aa133d7 + 78fb3af commit 4e79a99
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,11 @@ jobs:

- name: Run stylelint
run: npm run stylelint:dist

- name: Download W3C Validator (vnu.jar)
run: wget https://github.com/validator/validator/releases/download/latest/vnu.jar

- name: Validate CSS
run: |
# Find all CSS files in dist directory and run validation
find ./dist -name "*.css" -print0 | xargs -0 java -jar vnu.jar --css

0 comments on commit 4e79a99

Please sign in to comment.