fix linux build

This commit is contained in:
Alexey Kasyanchuk 2021-02-23 00:51:40 +03:00
parent ff5e8c3276
commit 04553f793a

View File

@ -28,7 +28,13 @@ jobs:
name: Node ${{ matrix.node_version }} - ${{ matrix.architecture }} on ${{ matrix.os }}
env:
GH_TOKEN: ${{ SECRETS.GH_TOKEN }}
DISPLAY: :0
steps:
- name: Setup xvfb (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get install -y xvfb
sudo /usr/bin/Xvfb $DISPLAY -screen 0 1280x1024x24 &
- uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v2