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

This commit is contained in:
Saúl Ibarra Corretgé 2021-05-19 10:34:07 +02:00 committed by Saúl Ibarra Corretgé
parent 0e7a992b43
commit eb3295cedd
1 changed files with 2 additions and 1 deletions

View File

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