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:
|
with:
|
||||||
name: build
|
name: build
|
||||||
- name: Run browser tests
|
- name: Run browser tests
|
||||||
if: ${{ matrix.config.xvfb !== true }}
|
if: ${{ matrix.config.xvfb != true }}
|
||||||
run: npm run karma
|
run: npm run karma
|
||||||
- name: Start Xvfb
|
- name: Start Xvfb
|
||||||
if: ${{ matrix.config.xvfb === true }}
|
if: ${{ matrix.config.xvfb == true }}
|
||||||
run: Xvfb :99 &
|
run: Xvfb :99 &
|
||||||
- name: Run browser tests
|
- name: Run browser tests
|
||||||
if: ${{ matrix.config.xvfb === true }}
|
if: ${{ matrix.config.xvfb == true }}
|
||||||
run: DISPLAY=:99 npm run karma
|
run: DISPLAY=:99 npm run karma
|
||||||
- name: Upload screenshots
|
- name: Upload screenshots
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
|
Loading…
Reference in New Issue
Block a user