Update ci.yml

This commit is contained in:
Niklas von Hertzen 2020-07-28 23:59:49 +08:00 committed by GitHub
parent ebe9eccbd2
commit 7cb0019594
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,6 +69,8 @@ jobs:
targetBrowser: IE_11 targetBrowser: IE_11
runs-on: ${{ matrix.config.os }} runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.name }} name: ${{ matrix.config.name }}
env:
TARGET_BROWSER: ${{ matrix.config.targetBrowser }}
needs: build needs: build
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -81,10 +83,12 @@ jobs:
uses: actions/download-artifact@v2 uses: actions/download-artifact@v2
with: with:
name: dist name: dist
path: dist
- name: Download test-runner - name: Download test-runner
uses: actions/download-artifact@v2 uses: actions/download-artifact@v2
with: with:
name: build name: build
path: 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