Skip to content

Commit cabf29c

Browse files
[CI] Update "rebuild needed" check
1 parent 65b8c7b commit cabf29c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- run: npm run build
2828

2929
- name: Check if dist/index.js needs to be rebuilt
30-
run: git status dist/index.js | grep "nothing to commit, working tree clean" -q
30+
run: diff <(git status dist/index.js --short) <(echo -n "")
3131

3232
format-check:
3333
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)