From 3160e35d9153c1449a79f106eb0415c0fbe98f0a Mon Sep 17 00:00:00 2001 From: Adhiraj Singh Date: Wed, 22 Jun 2022 10:55:10 +0530 Subject: [PATCH] feat: add lint workflow --- .github/workflows/lint.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..64a9bc0 --- /dev/null +++ b/.github/workflows/lint.yml @@ -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