ci: add exit flag for mocha e2e env

This commit is contained in:
4gray committed 2020-12-29 20:17:29 +01:00
1 parent 7b42a170dd
commit dd737c3f58
2 files changed
+3 -16

No files matched your search

+1 -14
View File
@@ -3,19 +3,6 @@ name: Build and release
on: [push]
jobs:
test:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Run headless test
uses: GabrielBB/xvfb-action@v1
with:
working-directory: ./ #optional
run: npm run e2e
build:
runs-on: ubuntu-latest
@@ -28,7 +15,7 @@ jobs:
- run: npm install
- run: npm test
- run: sudo apt-get install xvfb
#- run: xvfb-run --auto-servernum npm run e2e
- run: xvfb-run --auto-servernum npm run e2e
- run: npm run build:prod
env:
CI: true