mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 07:24:51 +00:00
chore: improve pipeline
This commit is contained in:
@@ -12,10 +12,11 @@
|
|||||||
"test:integration:run": "cypress run --config-file ./cypress/cypress.config.ts --quiet",
|
"test:integration:run": "cypress run --config-file ./cypress/cypress.config.ts --quiet",
|
||||||
"test:integration:open": "cypress open --config-file ./cypress/cypress.config.ts",
|
"test:integration:open": "cypress open --config-file ./cypress/cypress.config.ts",
|
||||||
"mock": "pnpm mock:build && pnpm mock:run",
|
"mock": "pnpm mock:build && pnpm mock:run",
|
||||||
"mock:run": "pnpm mock:destroy && docker run --rm --name zitadel-mock-grpc-server --publish 22220:22220 --publish 22222:22222 zitadel-mock-grpc-server",
|
"mock:run": "pnpm mock:stop && docker run --rm --name zitadel-mock-grpc-server --publish 22220:22220 --publish 22222:22222 zitadel-mock-grpc-server",
|
||||||
"mock:build": "DOCKER_BUILDKIT=1 docker build --tag zitadel-mock-grpc-server ./mock",
|
"mock:build": "DOCKER_BUILDKIT=1 docker build --tag zitadel-mock-grpc-server ./mock",
|
||||||
"mock:build:nocache": "pnpm mock:build --no-cache",
|
"mock:build:nocache": "pnpm mock:build --no-cache",
|
||||||
"mock:destroy": "docker rm --force zitadel-mock-grpc-server 2>/dev/null",
|
"mock:stop": "docker rm --force zitadel-mock-grpc-server 2>/dev/null || true",
|
||||||
|
"mock:destroy": "docker rmi --force zitadel-mock-grpc-server 2>/dev/null || true",
|
||||||
"lint": "next lint && prettier --check .",
|
"lint": "next lint && prettier --check .",
|
||||||
"lint:fix": "prettier --write .",
|
"lint:fix": "prettier --write .",
|
||||||
"lint-staged": "lint-staged",
|
"lint-staged": "lint-staged",
|
||||||
@@ -88,4 +89,4 @@
|
|||||||
"typescript": "5.0.4",
|
"typescript": "5.0.4",
|
||||||
"zitadel-tailwind-config": "workspace:*"
|
"zitadel-tailwind-config": "workspace:*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -8,6 +8,14 @@
|
|||||||
"src/proto/**"
|
"src/proto/**"
|
||||||
],
|
],
|
||||||
"cache": true
|
"cache": true
|
||||||
|
},
|
||||||
|
"build": {
|
||||||
|
"outputs": [
|
||||||
|
"dist/**"
|
||||||
|
],
|
||||||
|
"dependsOn": [
|
||||||
|
"generate"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -8,6 +8,14 @@
|
|||||||
"src/proto/**"
|
"src/proto/**"
|
||||||
],
|
],
|
||||||
"cache": true
|
"cache": true
|
||||||
|
},
|
||||||
|
"build": {
|
||||||
|
"outputs": [
|
||||||
|
"dist/**"
|
||||||
|
],
|
||||||
|
"dependsOn": [
|
||||||
|
"generate"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -4,11 +4,7 @@
|
|||||||
"generate": {
|
"generate": {
|
||||||
"cache": true
|
"cache": true
|
||||||
},
|
},
|
||||||
"build": {
|
"build": {},
|
||||||
"dependsOn": [
|
|
||||||
"generate"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"test": {},
|
"test": {},
|
||||||
"test:unit": {},
|
"test:unit": {},
|
||||||
"test:integration": {},
|
"test:integration": {},
|
||||||
|
|||||||
Reference in New Issue
Block a user