Skip to content

Merge pull request #6111 from rubyforgood/gh_workflow_toc_generator #3640

Merge pull request #6111 from rubyforgood/gh_workflow_toc_generator

Merge pull request #6111 from rubyforgood/gh_workflow_toc_generator #3640

name: yarn lint
on:
push:
branches:
- main
paths:
- '**/*.js'
- '**/*.json'
- '**/*.jsx'
- 'yarn.lock'
- '.github/workflows/*.yml'
pull_request:
branches:
- main
paths:
- '**/*.js'
- '**/*.json'
- '**/*.jsx'
- 'yarn.lock'
- '.github/workflows/*.yml'
jobs:
yarn_lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- run: yarn
- run: yarn lint
- run: yarn test