Преглед изворни кода

fix: Adds missing checks for clean repo.

This avoids any PR to miss pushing the generated ts files.
release-8443
Дамян Минков пре 3 година
родитељ
комит
90d9428c90
1 измењених фајлова са 6 додато и 0 уклоњено
  1. 6
    0
      .github/workflows/ci.yml

+ 6
- 0
.github/workflows/ci.yml Прегледај датотеку

13
         node-version: '16.x'
13
         node-version: '16.x'
14
     - run: npm install
14
     - run: npm install
15
     - run: npm run build
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
     - run: npm run lint
22
     - run: npm run lint
17
     - run: npm run test
23
     - run: npm run test

Loading…
Откажи
Сачувај