Przeglądaj źródła

fix: Adds missing checks for clean repo.

This avoids any PR to miss pushing the generated ts files.
dev1
Дамян Минков 3 lat temu
rodzic
commit
90d9428c90
1 zmienionych plików z 6 dodań i 0 usunięć
  1. 6
    0
      .github/workflows/ci.yml

+ 6
- 0
.github/workflows/ci.yml Wyświetl plik

@@ -13,5 +13,11 @@ jobs:
13 13
         node-version: '16.x'
14 14
     - run: npm install
15 15
     - run: npm run build
16
+    - name: Check git status
17
+      run: git status
18
+    - name: Check git diff
19
+      run: git diff
20
+    - name: Check if the git repository is clean
21
+      run: exit $( git status --porcelain --untracked-files=no | head -255 | wc -l )
16 22
     - run: npm run lint
17 23
     - run: npm run test

Ładowanie…
Anuluj
Zapisz