Skip to content

Commit bddbe16

Browse files
authored
Start xvfb manually on ubuntu
1 parent ca23062 commit bddbe16

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797

9898
typescript:
9999
name: TypeScript
100-
runs-on: windows-latest
100+
runs-on: ubuntu-latest
101101
steps:
102102
- name: Checkout repository
103103
uses: actions/checkout@v2
@@ -116,8 +116,17 @@ jobs:
116116
- run: npm run lint
117117
working-directory: ./editors/code
118118

119+
- name: Start xvfb
120+
run: |
121+
sudo apt-get install xvfb
122+
set -e
123+
/usr/bin/Xvfb :10 -ac >> /tmp/Xvfb.out 2>&1 &
124+
disown -ar
125+
119126
- run: npm test
120127
working-directory: ./editors/code
128+
env:
129+
DISPLAY: :10
121130

122131
- run: npm run package --scripts-prepend-node-path
123132
working-directory: ./editors/code

0 commit comments

Comments
 (0)