Skip to content

Commit

Permalink
test: update test-electron
Browse files Browse the repository at this point in the history
  • Loading branch information
action-hong committed Nov 13, 2023
1 parent 6ff668d commit 953e341
Show file tree
Hide file tree
Showing 3 changed files with 95 additions and 489 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,17 @@ jobs:
with:
node-version: ${{ matrix.node }}

# https://github.com/prettier/prettier-vscode/blob/affc1e5b44fc6d0d9d4a957e327e0da57045bf56/.github/workflows/main.yml#L26-L44
- run: /usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & echo "Started xvfb"
shell: bash
if: ${{ success() && matrix.os == 'ubuntu-latest' }}

- name: Install
run: npm install

- name: Build
run: npm run compile

- run: /usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & echo "Started xvfb"
shell: bash

- name: Test
run: npm run test
Expand Down
Loading

0 comments on commit 953e341

Please sign in to comment.