From 150bdba134807605b9ac5a7a7b7a94022eb1f8be Mon Sep 17 00:00:00 2001 From: KATT Date: Tue, 17 Aug 2021 11:32:18 +0200 Subject: [PATCH 1/2] 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 From 663a9f7bcc274bbe1144d4a5a71c4d7608ade0c6 Mon Sep 17 00:00:00 2001 From: KATT Date: Tue, 17 Aug 2021 11:35:44 +0200 Subject: [PATCH 2/2] tweak name --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 61cb104e..5f718207 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,7 +14,7 @@ jobs: with: version: 14.x - - name: Install deps and build (with cache) + - name: Install deps uses: bahmutov/npm-install@v1 - name: Lint