瀏覽代碼

Add a GitHub action for linting

YouTwitFace 5 年之前
父節點
當前提交
c63f572a57
共有 1 個文件被更改,包括 10 次插入0 次删除
  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