Merge pull request #5256 from rubyforgood/dependabot/npm_and_yarn/boo… #2772
This file contains 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: yarn lint | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '**/*.js' | |
- '**/*.json' | |
- '**/*.jsx' | |
- 'yarn.lock' | |
pull_request: | |
branches: | |
- main | |
paths: | |
- '**/*.js' | |
- '**/*.json' | |
- '**/*.jsx' | |
- 'yarn.lock' | |
jobs: | |
yarn_lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: lts/fermium | |
- run: yarn | |
- run: yarn lint | |
- run: yarn test |