From b3a519f9dec30d31d4049d0adc229a0940ce84d7 Mon Sep 17 00:00:00 2001 From: Sawood Alam Date: Tue, 25 Feb 2020 07:54:57 -0500 Subject: [PATCH] Add GH Workflow Action for automated linting (#76) --- .github/workflows/lint.yml | 18 ++++++++++++++++++ 1 file changed, 18 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..76fd771 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,18 @@ +name: Awesome Lint + +on: [push, pull_request] + +jobs: + run-lint: + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@master + with: + fetch-depth: 0 + - uses: actions/setup-node@master + with: + node-version: 12.x + - name: Install awesome-lint CLI + run: npm install -g awesome-lint + - name: Run Awesome Lint + run: awesome-lint