Skip to content

Merge pull request #1616 from sanger/depfu/batch_all/2024-03-07 #4142

Merge pull request #1616 from sanger/depfu/batch_all/2024-03-07

Merge pull request #1616 from sanger/depfu/batch_all/2024-03-07 #4142

Workflow file for this run

name: Linting
env:
BUNDLE_WITHOUT: 'test development default'
on:
- push
- pull_request
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true # Runs bundle install and caches gems.
- name: Setup node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install
run: yarn install
- name: Run prettier
run: yarn prettier --check .
- name: Run lint
run: bundle exec rubocop --extra-details --display-style-guide --parallel
eslint:
name: EsLint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Node Information
run: node --version
- name: Install
run: yarn install
- name: Run yarn lint
run: yarn lint