test-js.yml 830 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. name: JavaScript Testing
  2. on:
  3. push:
  4. branches-ignore:
  5. - 'dependabot/**'
  6. - 'renovate/**'
  7. paths:
  8. - 'package.json'
  9. - 'yarn.lock'
  10. - '.nvmrc'
  11. - '**/*.js'
  12. - '**/*.jsx'
  13. - '**/*.ts'
  14. - '**/*.tsx'
  15. - '**/*.snap'
  16. - '.github/workflows/test-js.yml'
  17. pull_request:
  18. paths:
  19. - 'package.json'
  20. - 'yarn.lock'
  21. - '.nvmrc'
  22. - '**/*.js'
  23. - '**/*.jsx'
  24. - '**/*.ts'
  25. - '**/*.tsx'
  26. - '**/*.snap'
  27. - '.github/workflows/test-js.yml'
  28. jobs:
  29. test:
  30. runs-on: ubuntu-latest
  31. steps:
  32. - name: Clone repository
  33. uses: actions/checkout@v4
  34. - name: Set up Javascript environment
  35. uses: ./.github/actions/setup-javascript
  36. - name: Jest testing
  37. run: yarn jest --reporters github-actions summary