20 lines
404 B
YAML
20 lines
404 B
YAML
name: Lint
|
|
on: [push, pull_request]
|
|
jobs:
|
|
lint:
|
|
name: Lint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Install Node v12
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 12
|
|
|
|
- name: Install dependencies
|
|
run: yarn install
|
|
|
|
- name: Run Lint
|
|
uses: icrawl/action-eslint@v1
|