Skip to content

Commit c5e21af

Browse files
committed
ci: check electron zip integrity [temp]
Note: AI-assisted (Claude Code). Temporary.
1 parent 88a4529 commit c5e21af

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/e2e.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ jobs:
4545
rm -rf node_modules/electron/dist node_modules/electron/path.txt ~/.cache/electron
4646
cat node_modules/electron/package.json | grep '"version"'
4747
node node_modules/electron/install.js; echo "install.js exit=$?"
48-
ls -la node_modules/electron/dist 2>&1 | head -8 || echo "NO DIST"
48+
Z=$(ls ~/.cache/electron/*/*.zip 2>/dev/null | head -1); echo "ZIP=$Z"
49+
ls -la "$Z" 2>&1; du -h "$Z" 2>&1
50+
unzip -t "$Z" >/dev/null 2>&1 && echo "ZIP_OK" || echo "ZIP_CORRUPT"
51+
unzip -l "$Z" 2>&1 | tail -3
4952
test -x node_modules/electron/dist/electron && echo "BINARY OK" || echo "BINARY MISSING"
5053
- run: yarn build
5154
# Electron needs system libraries; xvfb provides a display on the headless

0 commit comments

Comments
 (0)