frontend-lint-burndown.yml 900 B

123456789101112131415161718192021222324252627282930313233
  1. name: frontend-lint-burndown
  2. on:
  3. workflow_dispatch:
  4. schedule:
  5. - cron: '0 4 * * 1'
  6. env:
  7. NODE_OPTIONS: '--max-old-space-size=4096'
  8. jobs:
  9. deprecations:
  10. name: Lint @deprecated callsites
  11. timeout-minutes: 30
  12. # Make sure this matches the runner that runs frontend tests
  13. runs-on: ubuntu-22.04
  14. steps:
  15. - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
  16. - name: Install dependencies & inject eslint-plugin-deprecation
  17. id: dependencies
  18. run: yarn add --dev eslint-plugin-deprecation
  19. # Setup custom tsc matcher, see https://github.com/actions/setup-node/issues/97
  20. - name: setup matchers
  21. run: |
  22. echo "::remove-matcher owner=masters::"
  23. echo "::add-matcher::.github/eslint-stylish.json"
  24. - name: ESLint
  25. env:
  26. SENTRY_DETECT_DEPRECATIONS: 1
  27. run: yarn lint:js