This commit is contained in:
Elio Bischof
2025-07-30 22:31:58 +02:00
parent 3c30720002
commit e6bb3246e8

View File

@@ -30,16 +30,14 @@ jobs:
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version: 20 node-version: 20
cache: "pnpm" - name: Install dependencies
cache-dependency-path: pnpm-lock.yaml run: pnpm install
- name: Install Cypress binary
run: cd ./e2e && pnpm exec cypress install
- 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: |
- name: Cypress install cd ./e2e
uses: cypress-io/github-action@v6 ZITADEL_IMAGE=zitadel:local docker compose up --detach --wait
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:
@@ -52,7 +50,6 @@ jobs:
browser: ${{ matrix.browser }} browser: ${{ matrix.browser }}
config-file: cypress.config.ts config-file: cypress.config.ts
install: false install: false
runTests: true
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
if: always() if: always()
with: with: