ci: Use eslint to track calls to @deprecated functions/components (#70184)
This creates a new workflow specifically for tracking calls to
`@deprecated` functions in javascript.
It's going to run on a schedule, or on demand. It's not needed to run on
every PR because the expectation is that there will be a long list of
deprecations, and we should work over time to fix them up. If this were
running on every PR it would desensitize people to lint problems so
quickly, a really bad place to be.
Followup tasks that we don't need to start with but would be amazing:
- Change the output so it's grouped by `@deprecated` method, so we can
see all related things at once
- Connect it to a slackbot command so we can use/share the results with
the team more easily, especially the count of errors.
Example output:
https://github.com/getsentry/sentry/actions/runs/8943695929/job/24568982206?pr=70184