Update LICENSE #3892
Workflow file for this run
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: 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 |