mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Update ci.yml
This commit is contained in:
parent
df44c86f68
commit
ebe9eccbd2
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -86,13 +86,13 @@ jobs:
|
||||
with:
|
||||
name: build
|
||||
- name: Run browser tests
|
||||
if: ${{ matrix.config.xvfb !== true }}
|
||||
if: ${{ matrix.config.xvfb != true }}
|
||||
run: npm run karma
|
||||
- name: Start Xvfb
|
||||
if: ${{ matrix.config.xvfb === true }}
|
||||
if: ${{ matrix.config.xvfb == true }}
|
||||
run: Xvfb :99 &
|
||||
- name: Run browser tests
|
||||
if: ${{ matrix.config.xvfb === true }}
|
||||
if: ${{ matrix.config.xvfb == true }}
|
||||
run: DISPLAY=:99 npm run karma
|
||||
- name: Upload screenshots
|
||||
uses: actions/upload-artifact@v2
|
||||
|
Loading…
Reference in New Issue
Block a user