mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-19 15:30:03 +02:00
Update build.yml
This commit is contained in:
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@@ -8,7 +8,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [10.x, 12.x]
|
node-version: [10.x, 12.x]
|
||||||
browser: [chrome]
|
browser: [chrome, firefox]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
|
||||||
@@ -58,12 +58,15 @@ jobs:
|
|||||||
- uses: cypress-io/github-action@v1
|
- uses: cypress-io/github-action@v1
|
||||||
with:
|
with:
|
||||||
browser: ${{ matrix.browser }}
|
browser: ${{ matrix.browser }}
|
||||||
|
group: ${{ matrix.browser }}
|
||||||
headless: true
|
headless: true
|
||||||
command-prefix: 'percy exec -- npx'
|
command-prefix: 'percy exec -- npx'
|
||||||
start: yarn dev
|
start: yarn dev
|
||||||
wait-on: 'http://localhost:9000'
|
wait-on: 'http://localhost:9000'
|
||||||
install: false
|
install: false
|
||||||
working-directory: cypress
|
working-directory: cypress
|
||||||
|
parallel: true
|
||||||
|
parallelism: 4
|
||||||
env:
|
env:
|
||||||
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}
|
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user