Skip to content

Merge pull request #1366 from mito-ds/fall-codebase-cleaning #4472

Merge pull request #1366 from mito-ds/fall-codebase-cleaning

Merge pull request #1366 from mito-ds/fall-codebase-cleaning #4472

name: Test - mitosheet src lint
on:
push:
branches: [ dev ]
paths:
- 'mitosheet/**'
pull_request:
paths:
- 'mitosheet/**'
jobs:
lint-mitosheet-typescript:
name: Run linters
runs-on: ubuntu-20.04
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.7.0
with:
access_token: ${{ github.token }}
- name: Check out Git repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 16
cache: 'npm'
cache-dependency-path: mitosheet/package-lock.json
- name: Install Node.js dependencies
run: |
cd mitosheet
npm install eslint
- name: Run Linters
run: |
cd mitosheet
npm run lint:check