From 1d9611c524a02a22d369010c377d6c0c62861935 Mon Sep 17 00:00:00 2001 From: looskie <50378828+Looskie@users.noreply.github.com> Date: Fri, 25 Jun 2021 22:15:33 -0400 Subject: [PATCH] Feat: Linting workflow --- .github/workflows/lint.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 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..6ff29e5 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,25 @@ +on: push +name: lint + +jobs: + lint: + runs-on: ubuntu-latest + + steps: + - name: Checkout project + uses: actions/checkout@v2 + with: + clean: false + + - name: Use Node.js 14 + uses: actions/setup-node@v1 + with: + node-version: 14.x + + - name: Install deps + run: yarn + + - name: Run ESLint + run: yarn lint + env: + CI: true