From 6bd4c41bbc18ffa682ad4c5b862b67b6681da823 Mon Sep 17 00:00:00 2001 From: Felipe Knorr Kuhn Date: Mon, 19 Jul 2021 22:19:43 -0700 Subject: [PATCH] use more of the GHA options --- .github/workflows/push.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 9394885d7..71c34efc2 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -12,7 +12,10 @@ jobs: uses: cypress-io/github-action@v2 with: 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 browser: chrome env: @@ -32,7 +35,10 @@ jobs: uses: cypress-io/github-action@v2 with: 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 browser: firefox env: @@ -49,7 +55,10 @@ jobs: uses: cypress-io/github-action@v2 with: 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 browser: edge env: