use more of the GHA options

This commit is contained in:
Felipe Knorr Kuhn
2021-07-19 22:19:43 -07:00
parent b8f60993e8
commit 6bd4c41bbc

View File

@@ -12,7 +12,10 @@ jobs:
uses: cypress-io/github-action@v2 uses: cypress-io/github-action@v2
with: with:
working-directory: frontend working-directory: frontend
command: npm run e2e:ci build: npm config:defaults
start: npm run start:local-prod
wait-on: 'http://localhost:4200'
wait-on-timeout: 120
record: true record: true
browser: chrome browser: chrome
env: env:
@@ -32,7 +35,10 @@ jobs:
uses: cypress-io/github-action@v2 uses: cypress-io/github-action@v2
with: with:
working-directory: frontend working-directory: frontend
command: npm run e2e:ci build: npm config:defaults
start: npm run start:local-prod
wait-on: 'http://localhost:4200'
wait-on-timeout: 120
record: true record: true
browser: firefox browser: firefox
env: env:
@@ -49,7 +55,10 @@ jobs:
uses: cypress-io/github-action@v2 uses: cypress-io/github-action@v2
with: with:
working-directory: frontend working-directory: frontend
command: npm run e2e:ci build: npm config:defaults
start: npm run start:local-prod
wait-on: 'http://localhost:4200'
wait-on-timeout: 120
record: true record: true
browser: edge browser: edge
env: env: