ref/action-xvfb-linux

This commit is contained in:
Maxime GRIS
2021-06-25 17:34:17 +02:00
parent e8f36a3496
commit 60b591b0d4
2 changed files with 11 additions and 5 deletions

View File

@@ -22,7 +22,7 @@ jobs:
node-version: [12.x, 14.x, 15.x]
# The type of runner that the job will run on
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
@@ -44,13 +44,20 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm i
- name: Check lint
run: npm run lint
- name: Build the app
run: npm run electron:build
- name: Run headless unit test
uses: GabrielBB/xvfb-action@v1
with:
run: npm test
- name: Run headless e2e test
uses: GabrielBB/xvfb-action@v1
with:
run: npm run e2e