Skip to content

Merge pull request #3 from chrominance/ai-subtitle-trimming #18

Merge pull request #3 from chrominance/ai-subtitle-trimming

Merge pull request #3 from chrominance/ai-subtitle-trimming #18

Workflow file for this run

name: Lint
on: push
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 15.x
- name: Cache Node.js modules
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-
${{ runner.OS }}-
- name: Install dependencies
run: npm ci
env:
HUSKY_SKIP_INSTALL: 1
- name: Run ESLint
run: npm run lint