Update build.yml

This commit is contained in:
Christian Klemm
2020-02-16 19:41:52 +01:00
committed by GitHub
parent 36b02ec008
commit 864472d648

View File

@@ -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 }}