Skip to content

Merge pull request #490 from Vizzuality/develop #783

Merge pull request #490 from Vizzuality/develop

Merge pull request #490 from Vizzuality/develop #783

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