Ver código fonte

Create lint.yml

ludovic autin 5 anos atrás
pai
commit
d0de9073e7
1 arquivos alterados com 18 adições e 0 exclusões
  1. 18 0
      .github/workflows/lint.yml

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

@@ -0,0 +1,18 @@
+on:
+  push:
+  pull_request:
+
+jobs:
+  eslint:
+    name: eslint
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v1
+    - name: install node v12
+      uses: actions/setup-node@v1
+      with:
+        node-version: 12
+    - name: yarn install
+      run: yarn install
+    - name: eslint
+      uses: icrawl/action-eslint@v1