mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 04:07:31 +00:00
chore(e2e): formatting with prettier (#4385)
* prettier in e2e * format * typescript as dev dependency * ci all, check linting * resolve liniting issues * fix wait-on * fix package-lock.json Co-authored-by: Elio Bischof <eliobischof@gmail.com>
This commit is contained in:
@@ -22,7 +22,7 @@ services:
|
||||
image: 'cockroachdb/cockroach:v22.1.0'
|
||||
command: 'start-single-node --insecure --http-addr :9090'
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:9090/health?ready=1"]
|
||||
test: ['CMD', 'curl', '-f', 'http://localhost:9090/health?ready=1']
|
||||
interval: '10s'
|
||||
timeout: '30s'
|
||||
retries: 5
|
||||
@@ -36,10 +36,11 @@ services:
|
||||
prepare:
|
||||
image: node:18-alpine3.15
|
||||
working_dir: /e2e
|
||||
user: "$UID"
|
||||
user: '$UID'
|
||||
volumes:
|
||||
- .:/e2e
|
||||
command: "npm ci --omit=dev && npx run wait-on http://localhost:8080"
|
||||
- .:/e2e
|
||||
command: 'sh -c "npm ci --omit=dev && npm run lint && npx wait-on http://localhost:8080/debug/ready"'
|
||||
network_mode: host
|
||||
|
||||
e2e:
|
||||
image: cypress/included:10.3.0
|
||||
@@ -51,9 +52,9 @@ services:
|
||||
prepare:
|
||||
condition: 'service_completed_successfully'
|
||||
working_dir: /e2e
|
||||
user: "$UID"
|
||||
user: '$UID'
|
||||
volumes:
|
||||
- .:/e2e
|
||||
- .:/e2e
|
||||
network_mode: host
|
||||
|
||||
networks:
|
||||
|
Reference in New Issue
Block a user