Browse Source

added lint github action

Ievgen Naida 2 years ago
parent
commit
3693035a0f
1 changed files with 13 additions and 0 deletions
  1. 13 0
      .github/workflow/lint.yml

+ 13 - 0
.github/workflow/lint.yml

@@ -0,0 +1,13 @@
+name: ESLint
+
+on: [push, pull_request]
+
+jobs:
+  lint:
+    runs-on: ubuntu-latest  
+    steps:
+      - uses: actions/checkout@v2
+      - uses: actions/setup-node@v2
+      - run: npm ci
+      - run: >-
+          npm run lint