Merge pull request #32 from zitadel/improve-pipeline

chore: fix pipeline
This commit is contained in:
Max Peintner
2023-06-23 16:26:58 +02:00
committed by GitHub
5 changed files with 32 additions and 7 deletions

View File

@@ -12,10 +12,11 @@
"test:integration:run": "cypress run --config-file ./cypress/cypress.config.ts --quiet",
"test:integration:open": "cypress open --config-file ./cypress/cypress.config.ts",
"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: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:fix": "prettier --write .",
"lint-staged": "lint-staged",

View File

@@ -8,6 +8,14 @@
"src/proto/**"
],
"cache": true
},
"build": {
"outputs": [
"dist/**"
],
"dependsOn": [
"generate"
]
}
}
}

View File

@@ -0,0 +1,12 @@
{
"extends": [
"//"
],
"pipeline": {
"build": {
"outputs": [
"dist/**"
]
}
}
}

View File

@@ -8,6 +8,14 @@
"src/proto/**"
],
"cache": true
},
"build": {
"outputs": [
"dist/**"
],
"dependsOn": [
"generate"
]
}
}
}

View File

@@ -4,11 +4,7 @@
"generate": {
"cache": true
},
"build": {
"dependsOn": [
"generate"
]
},
"build": {},
"test": {},
"test:unit": {},
"test:integration": {},