fix linux build
This commit is contained in:
parent
ff5e8c3276
commit
04553f793a
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user