From f7fa5e0c7093a943768f963b4f0ed86629439bc6 Mon Sep 17 00:00:00 2001 From: Francois Hendriks Date: Wed, 11 Nov 2020 23:27:44 +0100 Subject: [PATCH] feat: add clinter to CI --- .github/workflows/clinter.yml | 18 ++++++++++++++++++ package.json | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/clinter.yml diff --git a/.github/workflows/clinter.yml b/.github/workflows/clinter.yml new file mode 100644 index 0000000..7900df6 --- /dev/null +++ b/.github/workflows/clinter.yml @@ -0,0 +1,18 @@ +name: Run clinter every 5 minutes + +on: [push] + # schedule: + # - cron: "*/1 * * * *" + +jobs: + clinter: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Install latest version of clinter + run: npm install clinter@latest --no-save + + - name: Run clinter + run: npx clinter --auto diff --git a/package.json b/package.json index 2320f8b..b8751fd 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "clinter", + "name": "clinter-test", "version": "1.11.0", "description": "A cli tool to quickly generate eslint configurations", "main": "build/index.js",