mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
ci: add exit flag for mocha e2e env
This commit is contained in:
2 files changed
+3
-16
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user