Explorar el Código

add lint github action

Alexander Rose hace 5 años
padre
commit
d7e5385b04
Se han modificado 1 ficheros con 12 adiciones y 0 borrados
  1. 12 0
      .github/lint.yml

+ 12 - 0
.github/lint.yml

@@ -0,0 +1,12 @@
+name: Lint
+
+on: pull_request
+
+jobs:
+  eslint:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v1
+      - uses: hallee/eslint-action@master
+        with:
+          repo-token: ${{secrets.GITHUB_TOKEN}}