File tree 1 file changed +10
-7
lines changed
1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -189,15 +189,14 @@ jobs:
189
189
- run :
190
190
name : Check JupyterLab build artifacts
191
191
command : |
192
- echo "Checking for uncommitted changes in plotly/labextension/..."
193
- git diff --exit-code plotly/labextension-tmp/ plotly/labextension/
194
- if [ $? -ne 0 ]; then
195
- echo "Uncommitted changes found in plotly/labextension/"
196
- echo "Please run 'git diff' to see the changes."
197
- echo "If you are sure you want to commit these changes, run 'git add plotly/labextension/' and 'git commit -m \"Update labextension\"'."
192
+ diff -qr plotly/labextension-tmp/ plotly/labextension/ | grep -v '^Only in' > build_diff.txt
193
+
194
+ if [ -s build_diff.txt ]; then
195
+ echo "Build artifacts differ from committed files:"
196
+ cat build_diff.txt
198
197
exit 1
199
198
else
200
- echo "No uncommitted changes found in plotly/labextension/ "
199
+ echo "Build artifacts are identical to committed files. "
201
200
fi
202
201
203
202
# Percy
@@ -441,6 +440,10 @@ workflows:
441
440
- full_build
442
441
443
442
check_js_build :
443
+ filters :
444
+ paths :
445
+ only :
446
+ - js/**
444
447
jobs :
445
448
- check-js-build
446
449
You can’t perform that action at this time.
0 commit comments