From 687a814a6252a8600e0595be9452d16018ba0505 Mon Sep 17 00:00:00 2001
From: Alexander Rose <alexander.rose@weirdbyte.de>
Date: Sat, 30 Oct 2021 15:02:25 -0700
Subject: [PATCH] gh action

- update eslint
- add jest
---
 .github/workflows/lint.yml | 18 ------------------
 .github/workflows/node.yml | 17 +++++++++++++++++
 2 files changed, 17 insertions(+), 18 deletions(-)
 delete mode 100644 .github/workflows/lint.yml
 create mode 100644 .github/workflows/node.yml

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
deleted file mode 100644
index 6ddb14b18..000000000
--- a/.github/workflows/lint.yml
+++ /dev/null
@@ -1,18 +0,0 @@
-on:
-  push:
-  pull_request:
-
-jobs:
-  eslint:
-    name: eslint
-    runs-on: ubuntu-latest
-    steps:
-    - uses: actions/checkout@v1
-    - name: install node v14
-      uses: actions/setup-node@v1
-      with:
-        node-version: 14
-    - name: yarn install
-      run: yarn install
-    - name: eslint
-      uses: icrawl/action-eslint@v1
\ No newline at end of file
diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml
new file mode 100644
index 000000000..21dd1b398
--- /dev/null
+++ b/.github/workflows/node.yml
@@ -0,0 +1,17 @@
+on:
+  push:
+  pull_request:
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v2
+    - uses: actions/setup-node@v2
+      with:
+        node-version: 14
+    - run: yarn install
+    - name: ESLint
+      uses: sibiraj-s/action-eslint@v2.0.0
+    - name: Jest Annotations & Coverage
+      uses: mattallty/jest-github-action@v1.0.3
-- 
GitLab