Przeglądaj źródła

ci: run lint during ci

Evan You 4 lat temu
rodzic
commit
1414f17490
1 zmienionych plików z 4 dodań i 1 usunięć
  1. 4 1
      .github/workflows/ci.yml

+ 4 - 1
.github/workflows/ci.yml

@@ -28,7 +28,7 @@ jobs:
       - name: Run unit tests
         run: pnpm run test
 
-  test-dts:
+  lint-and-test-dts:
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v2
@@ -46,6 +46,9 @@ jobs:
 
       - run: pnpm install
 
+      - name: Run eslint
+        run: pnpm run lint
+
       - name: Run type declaration tests
         run: pnpm run test-dts