Skip to content

Y24-271 - LCM Triomics Configuration + Integration Suite Tests #5443

Y24-271 - LCM Triomics Configuration + Integration Suite Tests

Y24-271 - LCM Triomics Configuration + Integration Suite Tests #5443

Workflow file for this run

name: Linting
env:
BUNDLE_WITHOUT: 'test development default'
on:
- push
- pull_request
jobs:
prettier:
name: Prettier
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby # Prettier has a Ruby dependency
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 Node dependencies
run: yarn install
- name: Run prettier
run: yarn prettier --check .
rubocop:
name: RuboCop
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 # RuboCop has a Prettier dependency for formatting
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install Node dependencies
run: yarn install
- 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: Install Node dependencies
run: yarn install
- name: Run ESLint
run: yarn lint