File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -196,16 +196,23 @@ jobs:
196
196
# Compare all files except 'Only in' cases
197
197
diff -qr plotly/labextension-tmp/ plotly/labextension/ | grep -v '^Only in' > build_diff.txt || true
198
198
199
+ cat build_diff.txt
200
+
199
201
# Filter out package.json from the global diff (we’ll check it separately)
200
202
grep -v 'package.json' build_diff.txt > filtered_diff.txt
201
203
204
+ cat filtered_diff.txt
205
+
202
206
# Check if package.json differs
203
207
diff plotly/labextension/package.json plotly/labextension-tmp/package.json > package_json_diff.txt || true
204
208
209
+ cat package_json_diff.txt
205
210
206
211
# Allow only the "load": "static/..." line to differ
207
212
grep -vE '"load": "static/.*\.js"' package_json_diff.txt > package_json_diff_filtered.txt
208
213
214
+ cat package_json_diff_filtered.txt
215
+
209
216
# Check both filtered diffs
210
217
if [ -s filtered_diff.txt ] || [ -s package_json_diff_filtered.txt ]; then
211
218
echo "❌ Build artifacts differ:"
You can’t perform that action at this time.
0 commit comments