Skip to content

Commit 65b8c7b

Browse files
[CI] Add a "rebuild needed" check
1 parent 34f33aa commit 65b8c7b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/build-test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ jobs:
2626

2727
- run: npm run build
2828

29+
- 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
31+
2932
format-check:
3033
runs-on: ubuntu-latest
3134
steps:

0 commit comments

Comments
 (0)