fix(ci) fix checking if the git repository is clean
This commit is contained in:
parent
0e7a992b43
commit
eb3295cedd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue