From 478a3e10afd79f3614306c4bb3dd2362d4cae232 Mon Sep 17 00:00:00 2001 From: alexesprit Date: Sun, 12 Jan 2020 18:30:19 +0300 Subject: [PATCH] Add workflow to run `awesome-lint` --- .github/workflows/lint.yml | 17 +++++++++++++++++ 1 file changed, 17 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..17db6ea --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,17 @@ +name: Lint +on: + push: + branches: [master] + pull_request: + types: [opened, synchronize] +jobs: + test: + name: Run awesome linter + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-node@v1 + with: + node-version: 12.13.1 + - run: npm install -g awesome-lint + - run: awesome-lint README.md