Lint your code with eslint in parallel to your builds
Copy and paste the following snippet into your .yml file.
- name: ESLint checks
Offload your CI of running ESLint. With this action you can run it in parallel to your CI process, which means, faster builds!
This action will also annotate the diff with the errors and warnings reported by ESLint.