cypress install

This commit is contained in:
Elio Bischof
2025-07-30 19:32:51 +02:00
parent 2504e30411
commit 3c30720002

View File

@@ -34,6 +34,12 @@ jobs:
cache-dependency-path: pnpm-lock.yaml cache-dependency-path: pnpm-lock.yaml
- name: Start DB and ZITADEL - name: Start DB and ZITADEL
run: ZITADEL_IMAGE=zitadel:local docker compose --file e2e/docker-compose.yaml up --detach --wait run: ZITADEL_IMAGE=zitadel:local docker compose --file e2e/docker-compose.yaml up --detach --wait
- name: Cypress install
uses: cypress-io/github-action@v6
with:
browser: ${{ matrix.browser }}
install: true
runTests: false
- name: Cypress run - name: Cypress run
uses: cypress-io/github-action@v6 uses: cypress-io/github-action@v6
env: env:
@@ -45,7 +51,8 @@ jobs:
working-directory: e2e working-directory: e2e
browser: ${{ matrix.browser }} browser: ${{ matrix.browser }}
config-file: cypress.config.ts config-file: cypress.config.ts
install: ${{ matrix.browser == 'firefox' }} install: false
runTests: true
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
if: always() if: always()
with: with: