Merge pull request #3573 from DMPRoadmap/aaron/fix-danger-workflow #5109
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: ESLint | |
| on: [push, pull_request] | |
| jobs: | |
| eslint: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| # Checkout the repo | |
| - uses: actions/checkout@v3 | |
| # Install Node | |
| - uses: actions/setup-node@v3 | |
| with: | |
| cache: 'yarn' | |
| node-version: 18 | |
| # Run yarn install for JS dependencies | |
| - name: 'Yarn Install' | |
| run: yarn install | |
| - name: 'Run ESLint' | |
| run: yarn run eslint app/javascript/**/*.js --ext .js |