Create lint.yml

This commit is contained in:
reidlab 2023-07-20 15:29:34 -07:00 committed by GitHub
parent b6eec9c28f
commit 8f67db0154
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

27
.github/workflows/lint.yml vendored Normal file
View file

@ -0,0 +1,27 @@
name: Lint
on:
pull_request:
push:
jobs:
build:
name: ESLint
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Set Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Run install
uses: borales/actions-yarn@v4
with:
cmd: install # will run `yarn install` command
- name: Lint
uses: borales/actions-yarn@v4
with:
cmd: lint # will run `yarn lint` command