gatsby-pingbot/.github/workflows/lint.yml

22 lines
385 B
YAML

name: Lint
on:
pull_request:
push:
jobs:
eslint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '14'
cache: 'yarn'
- name: Install dependencies
run: yarn
- name: ESLint
run: yarn run eslint .