message: fix: how xvfb works
diff: @@ -5,7 +5,7 @@ on: [push, pull_request]
  jobs:
  Build:
  runs-on: ubuntu-latest
  - name: Build & Test
  + name: Build
  env:
  DISPLAY: ':99.0'
  DBUS_SESSION_BUS_ADDRESS: 'autolaunch:'
  @@ -16,6 +16,10 @@ jobs:
  uses: actions/setup-node@v2
  with:
  node-version: '16'
  + - name: Setup xvfb
  + run: |
  + sudo apt-get install -y xvfb
  + /usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & echo ">>> Started xvfb"
  - name: Build
  run: |
  npm ci
  @@ -41,9 +45,8 @@ jobs:
  ls -al "$HOME/.elan/bin"
  elan --version
  - name: Run tests
  - uses: GabrielBB/xvfb-action@v1.0
  - with:
  run: |
  cd test
  - npm run test
  + echo =============== $PWD ===================
  + xvfb-run -a npm run test
  if: runner.os == 'Linux'
  