Merge pull request #6196 from rubyforgood/dependabot/bundler/filterri… #1
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: npm lint | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - '**/*.js' | |
| - '**/*.json' | |
| - '**/*.jsx' | |
| - 'package.lock.json' | |
| - '.github/workflows/*.yml' | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - '**/*.js' | |
| - '**/*.json' | |
| - '**/*.jsx' | |
| - 'package.lock.json' | |
| - '.github/workflows/*.yml' | |
| jobs: | |
| npm_lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: '.nvmrc' | |
| - run: npm ci | |
| - run: npm run lint | |
| - run: npm run test |