Explorar o código

added lint github action

Ievgen Naida %!s(int64=2) %!d(string=hai) anos
pai
achega
3693035a0f
Modificáronse 1 ficheiros con 13 adicións e 0 borrados
  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