Browse Source

Add a GitHub action for linting

YouTwitFace 5 years ago
parent
commit
c63f572a57
1 changed files with 10 additions and 0 deletions
  1. 10 0
      .github/workflows/lint.yml

+ 10 - 0
.github/workflows/lint.yml

@@ -0,0 +1,10 @@
+name: Lint
+on: [push, pull_request]
+jobs:
+    lint:
+        runs-on: ubuntu-latest
+        steps:
+            - uses: actions/checkout@v2
+            - uses: Adzz/yarn_command_action@v1.0.0
+              with:
+                  command: lint