refactor: speed up the pipeline by directly deploying the review app from the build step

This commit is contained in:
2023-06-28 11:37:39 +02:00
parent 6a8b3d2fe2
commit f1bc41c4df
16 changed files with 344 additions and 296 deletions

View File

@@ -1,16 +1,17 @@
{
"globalDependencies": [".gitlab-ci.yml", ".npmrc", ".c8rc.json", ".mocharc.json"],
"pipeline": {
"build": {
"dependsOn": ["^build"],
"outputs": ["lib/**", "www/**", ".angular/**"],
"outputs": ["lib/**"],
"cache": true
},
"deploy": {
"dependsOn": ["build", "^deploy"],
"dependsOn": ["build"],
"cache": false
},
"docs": {
"dependsOn": ["build", "^docs"],
"dependsOn": ["^build"],
"outputs": ["docs/**"]
},
"format": {},
@@ -18,14 +19,14 @@
"cache": false
},
"lint": {
"dependsOn": ["build"]
"dependsOn": ["^build"]
},
"lint:fix": {
"dependsOn": ["build", "^lint:fix"],
"dependsOn": ["^build", "^lint:fix"],
"cache": false
},
"test": {
"dependsOn": ["build"],
"dependsOn": ["^build"],
"outputs": ["coverage/cobertura-coverage.xml", "coverage/report-junit.xml"]
},
"test:integration": {
@@ -38,10 +39,6 @@
},
"//#syncpack": {
"dependsOn": []
},
"//#build:docker-workspace": {
"dependsOn": ["^build"],
"cache": false
}
}
}