[CI] Add a "rebuild needed" check

This commit is contained in:
Vilius Sutkus '89 2022-08-03 15:27:53 +03:00
parent 34f33aad26
commit 65b8c7bc99

View file

@ -26,6 +26,9 @@ 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
format-check:
runs-on: ubuntu-latest
steps: