From 150bdba134807605b9ac5a7a7b7a94022eb1f8be Mon Sep 17 00:00:00 2001 From: KATT Date: Tue, 17 Aug 2021 11:32:18 +0200 Subject: [PATCH] add linting to ci --- .github/workflows/lint.yml | 21 +++++++++++++++++++++ 1 file changed, 21 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 00000000..61cb104e --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,21 @@ +name: Lint +on: [push] +jobs: + lint: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: Use Node.js 14.x + uses: actions/setup-node@v1 + with: + version: 14.x + + - name: Install deps and build (with cache) + uses: bahmutov/npm-install@v1 + + - name: Lint + run: yarn lint