Skip to content

Merge pull request #497 from Vizzuality/app/javascript/section-pages-… #826

Merge pull request #497 from Vizzuality/app/javascript/section-pages-…

Merge pull request #497 from Vizzuality/app/javascript/section-pages-… #826

Workflow file for this run

name: Linters
on: push
jobs:
linters:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Cache Node Modules
id: cache-node-modules
uses: actions/cache@v2
with:
path: node_modules
key: node-modules-${{ hashFiles('yarn.lock') }}
- name: Install Dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile
- name: Run RuboCop
run: yarn lint:rails
- name: Run Eslint
run: yarn lint:js