[CI] Update "rebuild needed" check

This commit is contained in:
Vilius Sutkus '89 2022-08-03 15:56:56 +03:00
parent 65b8c7bc99
commit cabf29c9ef

View file

@ -27,7 +27,7 @@ jobs:
- run: npm run build - run: npm run build
- name: Check if dist/index.js needs to be rebuilt - 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: format-check:
runs-on: ubuntu-latest runs-on: ubuntu-latest