lint-css.yml 871 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. name: CSS Linting
  2. on:
  3. merge_group:
  4. push:
  5. branches:
  6. - 'main'
  7. - 'stable-*'
  8. paths:
  9. - 'package.json'
  10. - 'yarn.lock'
  11. - '.nvmrc'
  12. - '.prettier*'
  13. - 'stylelint.config.js'
  14. - '**/*.css'
  15. - '**/*.scss'
  16. - '.github/workflows/lint-css.yml'
  17. - '.github/stylelint-matcher.json'
  18. pull_request:
  19. paths:
  20. - 'package.json'
  21. - 'yarn.lock'
  22. - '.nvmrc'
  23. - '.prettier*'
  24. - 'stylelint.config.js'
  25. - '**/*.css'
  26. - '**/*.scss'
  27. - '.github/workflows/lint-css.yml'
  28. - '.github/stylelint-matcher.json'
  29. jobs:
  30. lint:
  31. runs-on: ubuntu-latest
  32. steps:
  33. - name: Clone repository
  34. uses: actions/checkout@v4
  35. - name: Set up Javascript environment
  36. uses: ./.github/actions/setup-javascript
  37. - name: Stylelint
  38. run: yarn lint:css -f github