Refresh apt lists before installing xvfb on the runner.
Tests / unit (pull_request) Successful in 17s
Tests / e2e (pull_request) Failing after 1m40s

This commit is contained in:
2026-11-03 11:11:46 +11:00
parent fcbf1020e8
commit f104999800
+2 -1
View File
@@ -52,8 +52,9 @@ jobs:
working-directory: ./cinny
run: npm ci --prefer-offline
# The runner image has no xvfb and no fresh apt lists.
- name: Ensure a display for Electron
run: command -v xvfb-run >/dev/null || sudo apt-get install -y xvfb
run: command -v xvfb-run >/dev/null || (sudo apt-get update && sudo apt-get install -y xvfb)
- name: Run login E2E
run: xvfb-run -a npm run test:e2e