Skip to content

Commit 7788937

Browse files
committed
ci: attempt to fix display
1 parent 9d1652d commit 7788937

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

.github/workflows/nodejs.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,6 @@ jobs:
4747
with:
4848
node-version: ${{ env.NODE_VERSION }}
4949

50-
- name: export display
51-
run: |
52-
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
53-
echo ">>> Started xvfb"
54-
5550
- name: Load & Cache Dependencies
5651
uses: ./.github/actions/cached-deps
5752

@@ -77,11 +72,6 @@ jobs:
7772
path: ./vscode/*.vsix
7873

7974
test:
80-
env:
81-
CI: true
82-
DISPLAY: ':99.0'
83-
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
84-
COVERALLS_GIT_BRANCH: master
8575
runs-on: ubuntu-latest
8676
needs: [build]
8777
steps:
@@ -99,6 +89,11 @@ jobs:
9989
- name: Load & Cache Dependencies
10090
uses: ./.github/actions/cached-deps
10191

92+
- name: export display
93+
run: |
94+
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
95+
echo ">>> Started xvfb"
96+
10297
- name: npm test
10398
if: github.ref != 'refs/heads/main'
10499
run: |

0 commit comments

Comments
 (0)