feat: add lint workflow

This commit is contained in:
Adhiraj Singh
2022-06-22 10:55:10 +05:30
parent 4a66e60af3
commit 3160e35d91

22
.github/workflows/lint.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: Check PR health
on: [pull_request]
jobs:
check-lint:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v2
- name: Install Node
uses: actions/setup-node@v1
with:
node-version: 16.x
- name: Install packages
run: yarn
- name: Check linting
run: yarn lint