Browse Source

fix(ci) fix checking if the git repository is clean

j8
Saúl Ibarra Corretgé 3 years ago
parent
commit
eb3295cedd
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      .github/workflows/ci.yml

+ 2
- 1
.github/workflows/ci.yml View File

@@ -12,6 +12,7 @@ jobs:
12 12
       with:
13 13
         node-version: '12.x'
14 14
     - run: npm install
15
-    - run: git status -s --untracked-files=no
15
+    - name: Check if the git repository is clean
16
+      run: exit $( git status --porcelain --untracked-files=no | head -255 | wc -l )
16 17
     - run: npm run lint
17 18
     - run: make

Loading…
Cancel
Save