Skip to content

Commit eb3295c

Browse files
committed
fix(ci) fix checking if the git repository is clean
1 parent 0e7a992 commit eb3295c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
with:
1313
node-version: '12.x'
1414
- 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 )
1617
- run: npm run lint
1718
- run: make

0 commit comments

Comments
 (0)