fix linux build
This commit is contained in:
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 }}
|
name: Node ${{ matrix.node_version }} - ${{ matrix.architecture }} on ${{ matrix.os }}
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ SECRETS.GH_TOKEN }}
|
GH_TOKEN: ${{ SECRETS.GH_TOKEN }}
|
||||||
|
DISPLAY: :0
|
||||||
steps:
|
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
|
- uses: actions/checkout@v2
|
||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
|
Reference in New Issue
Block a user