ソースを参照

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

j8
Saúl Ibarra Corretgé 3年前
コミット
eb3295cedd
1個のファイルの変更2行の追加1行の削除
  1. 2
    1
      .github/workflows/ci.yml

+ 2
- 1
.github/workflows/ci.yml ファイルの表示

@@ -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

読み込み中…
キャンセル
保存