Skip to content

Commit 478453b

Browse files
rathbomaclaude
andcommitted
Fix Electron sandbox issue in CI
Add --no-sandbox flag to Electron test command for CI compatibility. The SUID sandbox is not available in GitHub Actions runners. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
1 parent 621e312 commit 478453b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/electron.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,4 +84,4 @@ jobs:
8484
shell: bash
8585
run: |
8686
npx electron --version
87-
npx electron -e "console.log('Testing module load...'); const db = require('./lib/index'); console.log('Module loaded successfully'); const conn = db.createConnection(); console.log('Connection created:', typeof conn);"
87+
npx electron --no-sandbox -e "console.log('Testing module load...'); const db = require('./lib/index'); console.log('Module loaded successfully'); const conn = db.createConnection(); console.log('Connection created:', typeof conn);"

0 commit comments

Comments
 (0)