Skip to content

Commit

Permalink
demo deploy improve cypress config
Browse files Browse the repository at this point in the history
  • Loading branch information
kcinay055679 committed Nov 15, 2024
1 parent d99593b commit 065d7bc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/demo-deploy-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ jobs:

e2e-docker:
runs-on: ubuntu-24.04
container:
image: cypress/browsers:node-22.11.0-chrome-130.0.6723.116-1-ff-132.0.1-edge-130.0.2849.68-1
options: --user 1001

needs: [build-docker-image, read-version, get-e2e-files]
strategy:
fail-fast: false
Expand Down Expand Up @@ -108,7 +112,6 @@ jobs:
- name: Cypress run e2e tests
uses: cypress-io/github-action@v6
with:
build: npm i -D cypress
working-directory: frontend
install: false
wait-on: 'http://pitc.okr.localhost:8080/config, http://localhost:8544'
Expand All @@ -117,6 +120,8 @@ jobs:
headed: false
config: baseUrl=http://pitc.okr.localhost:8080
spec: cypress/e2e/${{ matrix.file }}
env:
CYPRESS_INSTALL_BINARY: 0

- uses: actions/upload-artifact@v4
if: always()
Expand Down

0 comments on commit 065d7bc

Please sign in to comment.