From cabf29c9ef9373aa9a99c9eb4759f871beae5e7c Mon Sep 17 00:00:00 2001 From: Vilius Sutkus '89 Date: Wed, 3 Aug 2022 15:56:56 +0300 Subject: [PATCH] [CI] Update "rebuild needed" check --- .github/workflows/build-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index ea35726..c4aeccf 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -27,7 +27,7 @@ jobs: - run: npm run build - name: Check if dist/index.js needs to be rebuilt - run: git status dist/index.js | grep "nothing to commit, working tree clean" -q + run: diff <(git status dist/index.js --short) <(echo -n "") format-check: runs-on: ubuntu-latest