1
0

lint-md.yml 726 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. name: Markdown Linting
  2. on:
  3. push:
  4. branches-ignore:
  5. - 'dependabot/**'
  6. - 'renovate/**'
  7. paths:
  8. - '.github/workflows/lint-md.yml'
  9. - '.nvmrc'
  10. - '.prettier*'
  11. - '**/*.md'
  12. - '!AUTHORS.md'
  13. - 'package.json'
  14. - 'yarn.lock'
  15. pull_request:
  16. paths:
  17. - '.github/workflows/lint-md.yml'
  18. - '.nvmrc'
  19. - '.prettier*'
  20. - '**/*.md'
  21. - '!AUTHORS.md'
  22. - 'package.json'
  23. - 'yarn.lock'
  24. jobs:
  25. lint:
  26. runs-on: ubuntu-latest
  27. steps:
  28. - name: Clone repository
  29. uses: actions/checkout@v4
  30. - name: Set up Javascript environment
  31. uses: ./.github/actions/setup-javascript
  32. - name: Prettier
  33. run: yarn lint:md