File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -196,16 +196,23 @@ jobs:
196196 # Compare all files except 'Only in' cases
197197 diff -qr plotly/labextension-tmp/ plotly/labextension/ | grep -v '^Only in' > build_diff.txt || true
198198
199+ cat build_diff.txt
200+
199201 # Filter out package.json from the global diff (we’ll check it separately)
200202 grep -v 'package.json' build_diff.txt > filtered_diff.txt
201203
204+ cat filtered_diff.txt
205+
202206 # Check if package.json differs
203207 diff plotly/labextension/package.json plotly/labextension-tmp/package.json > package_json_diff.txt || true
204208
209+ cat package_json_diff.txt
205210
206211 # Allow only the "load": "static/..." line to differ
207212 grep -vE '"load": "static/.*\.js"' package_json_diff.txt > package_json_diff_filtered.txt
208213
214+ cat package_json_diff_filtered.txt
215+
209216 # Check both filtered diffs
210217 if [ -s filtered_diff.txt ] || [ -s package_json_diff_filtered.txt ]; then
211218 echo "❌ Build artifacts differ:"
You can’t perform that action at this time.
0 commit comments