Update apt in CI if install fails

Co-authored-by: trevor-signal <131492920+trevor-signal@users.noreply.github.com>
Co-authored-by: ayumi-signal <143036029+ayumi-signal@users.noreply.github.com>
This commit is contained in:
automated-signal 2025-02-20 16:11:59 -06:00 committed by GitHub
parent 1fbf503d27
commit 4b465ee5a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 6 deletions

View file

@ -46,9 +46,8 @@ jobs:
node-version-file: '.nvmrc'
cache: 'pnpm'
cache-dependency-path: 'pnpm-lock.yaml'
- name: Install xvfb
run: sudo apt-get install xvfb libpulse0
- name: Install xvfb and libpulse0
run: sudo apt-get install xvfb libpulse0 || (sudo apt-get update && sudo apt-get install xvfb libpulse0)
- name: Install Desktop node_modules
run: pnpm install

View file

@ -168,7 +168,9 @@ jobs:
node-version-file: '.nvmrc'
cache: 'pnpm'
cache-dependency-path: 'pnpm-lock.yaml'
- run: sudo apt-get install xvfb libpulse0
- name: Install xvfb and libpulse0
run: sudo apt-get install xvfb libpulse0 || (sudo apt-get update && sudo apt-get install xvfb libpulse0)
- name: Setup sccache
uses: mozilla-actions/sccache-action@v0.0.7
@ -401,8 +403,8 @@ jobs:
cache: 'pnpm'
cache-dependency-path: 'pnpm-lock.yaml'
- name: Install xvfb
run: sudo apt-get install xvfb libpulse0
- name: Install xvfb and libpulse0
run: sudo apt-get install xvfb libpulse0 || (sudo apt-get update && sudo apt-get install xvfb libpulse0)
- name: Setup sccache
uses: mozilla-actions/sccache-action@v0.0.7