Skip to content

Version 2.2.0

Version 2.2.0 #70

Workflow file for this run

name: Lint
on:
pull_request:
branches:
- main
permissions:
checks: write
contents: write
jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install Node.js dependencies
run: yarn install
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: .ruby-version
- name: Install Ruby Gem dependencies
run: |
gem install bundler -v 2.4.10
bundle install --jobs 4 --retry 3
- name: Run linters
uses: wearerequired/lint-action@v2
with:
eslint: true
prettier: true
rubocop: true
erblint: true
erblint_args: '--lint-all'