format-check.yml 404 B

12345678910111213141516171819202122
  1. name: Check formatting
  2. on:
  3. merge_group:
  4. push:
  5. branches:
  6. - 'main'
  7. - 'stable-*'
  8. pull_request:
  9. jobs:
  10. lint:
  11. runs-on: ubuntu-latest
  12. steps:
  13. - name: Clone repository
  14. uses: actions/checkout@v4
  15. - name: Set up Javascript environment
  16. uses: ./.github/actions/setup-javascript
  17. - name: Check formatting with Prettier
  18. run: yarn format:check